Author: tridge Date: 2006-03-13 05:01:58 +0000 (Mon, 13 Mar 2006) New Revision: 14295
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14295 Log: make sure we return a valid data blob Modified: branches/SAMBA_4_0/source/lib/registry/reg_backend_nt4.c Changeset: Modified: branches/SAMBA_4_0/source/lib/registry/reg_backend_nt4.c =================================================================== --- branches/SAMBA_4_0/source/lib/registry/reg_backend_nt4.c 2006-03-13 05:01:34 UTC (rev 14294) +++ branches/SAMBA_4_0/source/lib/registry/reg_backend_nt4.c 2006-03-13 05:01:58 UTC (rev 14295) @@ -133,7 +133,7 @@ int i; if (size == 0) - return ret; + return data_blob(NULL, 0); size += 4; /* Need to include uint32 for the length */