DragonFly-2.1.1.282.gfeed9a master lib/libutil Makefile libutil.h pw_util.c
Peter Avalos
pavalos at crater.dragonflybsd.org
Sat Jan 3 08:49:27 PST 2009
commit feed9a49bec3def4c17281a9fd8c0b830fe4ec95
Author: Peter Avalos <pavalos at 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
More information about the Commits
mailing list