mirror of
https://github.com/samba-team/samba.git
synced 2025-02-23 09:57:40 +03:00
r18328: when we bail out early, set *offset to 0
This commit is contained in:
parent
b2bba4e726
commit
8123046460
@ -133,6 +133,8 @@ static DATA_BLOB hbin_alloc (struct regf_data *data, uint32_t size, uint32_t *of
|
||||
struct hbin_block *hbin = NULL;
|
||||
int i;
|
||||
|
||||
*offset = 0;
|
||||
|
||||
if (size == 0)
|
||||
return data_blob(NULL, 0);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user