mirror of
https://github.com/samba-team/samba.git
synced 2025-02-23 09:57:40 +03:00
r14295: make sure we return a valid data blob
This commit is contained in:
parent
6c6bd77ec2
commit
759e148734
@ -133,7 +133,7 @@ static DATA_BLOB hbin_alloc (struct regf_data *data, uint32_t size, uint32_t *of
|
||||
int i;
|
||||
|
||||
if (size == 0)
|
||||
return ret;
|
||||
return data_blob(NULL, 0);
|
||||
|
||||
size += 4; /* Need to include uint32 for the length */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user