mirror of
https://github.com/samba-team/samba.git
synced 2025-02-09 09:57:48 +03:00
r543: possible fix for BUG 1293 -- initialize pointer to NULL to ensure the failure check is valid
(This used to be commit b7005e6989946bbd0e42d84d2688f3a96a649791)
This commit is contained in:
parent
63378d6f0e
commit
5254c9b6b4
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user