>Padraig O'Briain wrote:
>> On Solaris, if a NULL argument is passed to printf type function for %s 
>> format the program crash
es. On Linux it does not. Would it be possible to change Solaris behavior to be 
similar to Linux?
>
>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.

Casper

_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to