DragonFly commits List (threaded) for 2009-01
DragonFly BSD
DragonFly commits List (threaded) for 2009-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Peter Avalos <pavalos@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 3 Jan 2009 08:48:30 -0800 (PST)

commit feed9a49bec3def4c17281a9fd8c0b830fe4ec95
Author: Peter Avalos <pavalos@theshell.com>
Date:   Sun Dec 28 01:25:56 2008 -0500

    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

Summary of changes:
 lib/libutil/Makefile  |    3 ++-
 lib/libutil/libutil.h |    4 ++++
 lib/libutil/pw_util.c |   24 ++++++++++++++++++------
 3 files changed, 24 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/?p=dragonfly.git;a=commitdiff;h=feed9a49bec3def4c17281a9fd8c0b830fe4ec95


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]