[PATCH] Fix possible crash bugs in tdb code.

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Nov 19 15:25:33 GMT 2007


On Mon, Nov 19, 2007 at 04:12:58PM +0100, Andreas Schneider wrote:
> a corrupted tdb led to a segauflt here as the tdb functions don't check if a
> null pointer is passed. Patch attached.

Can't you fix the callers? Passing NULL as tdb_ctx *should*
IMHO lead to a segfault.

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20071119/31944b41/attachment.bin


More information about the samba-technical mailing list