DragonFly-2.1.1.282.gfeed9a DragonFly_RELEASE_2_2 lib/libutil Makefile libutil.h pw_util.c
Simon Schubert
corecode at crater.dragonflybsd.org
Tue Feb 3 11:14:05 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/dragonfly.git/commitdiff/feed9a49bec3def4c17281a9fd8c0b830fe4ec95
--
DragonFly BSD source repository
More information about the Commits
mailing list