From 250dc086bff0c9f86c799f3718ca38cbb6636962 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 13 Mar 2006 05:01:58 +0000 Subject: r14295: make sure we return a valid data blob (This used to be commit 759e1487349ca9631eab0315595a73c253badc1f) --- source4/lib/registry/reg_backend_nt4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib/registry/reg_backend_nt4.c') 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 */ -- cgit