git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c6bd77
)
r14295: make sure we return a valid data blob
author
Andrew Tridgell
<tridge@samba.org>
Mon, 13 Mar 2006 05:01:58 +0000
(
05:01
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:57:09 +0000
(13:57 -0500)
source/lib/registry/reg_backend_nt4.c
patch
|
blob
|
history
diff --git
a/source/lib/registry/reg_backend_nt4.c
b/source/lib/registry/reg_backend_nt4.c
index 38abaf64902ea8a58e8aa2af37419fa192b811d7..87ae2be070575bedbf9f65f0504d3c5d636bb40b 100644
(file)
--- a/
source/lib/registry/reg_backend_nt4.c
+++ b/
source/lib/registry/reg_backend_nt4.c
@@
-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 */