[PATCH] Fix possible crash bugs in tdb code.
Gerald (Jerry) Carter
jerry at samba.org
Mon Nov 19 15:41:22 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Volker Lendecke wrote:
> 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.
I agree. What callers are sending NULL? or are these just paranoia
checks?
cheers, jerry
- --
=====================================================================
Samba ------- http://www.samba.org
Centeris ----------- http://www.centeris.com
"What man is a man who does not make the world better?" --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHQa6iIR7qMdg1EfYRAvwsAKC/WInpS+QbgkpkuzXftijGq7hVRgCdGNJm
RYqS2/Npu92hwbkW1TZ1V7E=
=6+pY
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list