Coverity errors in libndr/

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Oct 25 06:26:07 GMT 2006


On Wed, Oct 25, 2006 at 12:35:56PM +1000, tridge at samba.org wrote:
> Unix and unix-like systems provide a highly efficient, zero code
> assertion system. It interfaces to debuggers, it correctly propogates
> to parent processes and it is even implemented in hardware on nearly
> every system in existance. 
> 
> It's called the segmentation fault. It's wonderful. Use it :-)

But then the check for NULL is bogus. Should we remove it or
shouldn't we? I could certainly mark all these Coverity
errors as false positives, but I do think a NULL check after
having dereferenced a pointer is kind of void.

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/20061025/0304b556/attachment.bin


More information about the samba-technical mailing list