Possible null pointer refrence in v3-0-test and v3-2-test

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Jun 2 13:03:50 GMT 2008


On Mon, Jun 02, 2008 at 02:21:34AM -0600, Bo Yang wrote:
>     There is possible null pointer reference in
>     talloc_strndup() and str_checksum() function.
> 
>    Patch in the attachment, Please review it.
> 
>    Thanks!

Patch looks correct, but -- is it necessary? I'd say that
calling those functions with NULL deserves a crash.

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/20080602/552b5cf5/attachment.bin


More information about the samba-technical mailing list