s3:registry: add an extra check for dsize==0 to regdb_fetch_keys_internal()
authorMichael Adam <obnox@samba.org>
Mon, 2 Nov 2009 23:51:27 +0000 (00:51 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 10 Nov 2009 11:24:55 +0000 (12:24 +0100)
commitb58c7d96528bf3aa781f76b76465699f97e8985c
tree5babcc17db3fa5c5900e8b97721982ab84f237a3
parent3fb7db84d76f15cc218554559c0f498cf00d1f7c
s3:registry: add an extra check for dsize==0 to regdb_fetch_keys_internal()

Don't only rely on dptr == NULL.
I stumbled over this one when rewriting some of the dbwrap_ctdb code.

Michael

Signed-off-by: Michael Adam <obnox@samba.org>
source3/registry/reg_backend_db.c