s3:registry: add an extra check for dsize==0 to regdb_fetch_keys_internal()
commitcc5b22a0165a1c7d6a0839edd67b8107fc883464
authorMichael Adam <obnox@samba.org>
Mon, 2 Nov 2009 23:51:27 +0000 (3 00:51 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 3 Nov 2009 00:02:39 +0000 (3 01:02 +0100)
tree41bc5d3e3f053980604bda09fdfba2802bc6e5de
parentf6f2151a3947cc105481c64a31d2405f239948cc
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
source3/registry/reg_backend_db.c