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

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


From: Simon Schubert <corecode@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 3 Feb 2009 11:05:07 -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/dragonfly.git/commitdiff/feed9a49bec3def4c17281a9fd8c0b830fe4ec95


-- 
DragonFly BSD source repository



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