On Sun, Sep 23, 2012 at 3:52 AM, Konstantin Belousov
<kostik...@gmail.com> wrote:
> On Sun, Sep 23, 2012 at 08:38:06AM +0000, Kevin Lo wrote:
>> Author: kevlo
>> Date: Sun Sep 23 08:38:06 2012
>> New Revision: 240850
>> URL: http://svn.freebsd.org/changeset/base/240850
>>
>> Log:
>>   Avoid NULL dereference
>>
>> Modified:
>>   head/lib/libstand/nfs.c

...

> I do not see how this change is useful. libstand' Free() function handles
> NULL parameter fine, as well as all other free(3) implementations I am
> aware of.

    +1. free(3) should silently ignore NULL parameters passed into it.
Thanks,
Garrett
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to