1
0
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:
Andrew Tridgell 2006-03-13 05:01:58 +00:00 committed by Gerald (Jerry) Carter
parent 6c6bd77ec2
commit 759e148734

View File

@ -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 */