summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-03-13 05:01:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:57:09 -0500
commit250dc086bff0c9f86c799f3718ca38cbb6636962 (patch)
treebbd11cc1ef3dc75ede9a10701834bb70d090f699 /source4
parent8fd131a9d4411280622683ac11a6e30783b2ac07 (diff)
downloadsamba-250dc086bff0c9f86c799f3718ca38cbb6636962.tar.gz
samba-250dc086bff0c9f86c799f3718ca38cbb6636962.tar.bz2
samba-250dc086bff0c9f86c799f3718ca38cbb6636962.zip
r14295: make sure we return a valid data blob
(This used to be commit 759e1487349ca9631eab0315595a73c253badc1f)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/registry/reg_backend_nt4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/reg_backend_nt4.c b/source4/lib/registry/reg_backend_nt4.c
index 38abaf6490..87ae2be070 100644
--- a/source4/lib/registry/reg_backend_nt4.c
+++ b/source4/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 */