git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63378d6
)
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 (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:51:28 +0000
(10:51 -0500)
(This used to be commit
b7005e6989946bbd0e42d84d2688f3a96a649791
)
source3/printing/nt_printing.c
patch
|
blob
|
history
diff --git
a/source3/printing/nt_printing.c
b/source3/printing/nt_printing.c
index e187f325f4b5d87e8dc74e62d6f60aaca5094320..fd7968f45d2aeea3779cd790d1ff63524daf0d98 100644
(file)
--- a/
source3/printing/nt_printing.c
+++ b/
source3/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;