DragonFly-2.1.1.282.gfeed9a master lib/libutil Makefile libutil.h pw_util.c

Matthew Dillon dillon at apollo.backplane.com
Sat Jan 3 10:01:59 PST 2009


:    Do not dereference a null pointer for a malformed line in master.passwd.
:    
:    Instead, just copy it silently to prevent programs from bailing.  While
:    I'm here, remove some (void) casts.
:    
:    Obtained-from: FreeBSD

    Don't bother with the (void) casts when the code is ignoring the return
    value, those just make the code harder to read.

						-Matt





More information about the Commits mailing list