git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41f4727
)
r543: possible fix for BUG 1293 -- initialize pointer to NULL to ensure the failure...
author
Gerald Carter
<jerry@samba.org>
Fri, 7 May 2004 03:15:54 +0000
(
03:15
+0000)
committer
Gerald Carter
<jerry@samba.org>
Fri, 7 May 2004 03:15:54 +0000
(
03:15
+0000)
source/printing/nt_printing.c
patch
|
blob
|
history
diff --git
a/source/printing/nt_printing.c
b/source/printing/nt_printing.c
index e187f325f4b5d87e8dc74e62d6f60aaca5094320..fd7968f45d2aeea3779cd790d1ff63524daf0d98 100644
(file)
--- a/
source/printing/nt_printing.c
+++ b/
source/printing/nt_printing.c
@@
-3056,6
+3056,7
@@
static int unpack_values(NT_PRINTER_DATA *printer_data, char *buf, int buflen)
/* check to see if there are any more registry values */
+ regval_p = NULL;
len += tdb_unpack(buf+len, buflen-len, "p", ®val_p);
if ( !regval_p )
break;