[EMAIL PROTECTED] wrote:

> >LD_PRELOAD=/usr/lib/[EMAIL PROTECTED]
> >
> >Works around the assumptions in the broken programs that pass NULL to
> >printf.
>
>
> And masks most of the other NULL dereferencing bugs.
>
>
> I think Padraig is asking for something to use in production code; well,
> [EMAIL PROTECTED] just isn't fit for that.

Typical points of failure (in order of significance) are:

-       explicit dereferencing of null pointers in the code

-       use of strcmp() or similar

-       printf()

If you look at bad programs they typically fail in the first two categories.

LD_PRELOAD=/usr/lib/[EMAIL PROTECTED] masks these problems and prevents you from
fixing them.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to