* src/groupmems.c (whoami): Make sure usr and grp are not NULL

before dereferencing them.
This commit is contained in:
nekral-guest
2008-07-27 22:30:31 +00:00
parent 5a0715fd6c
commit d6f96fa07e
2 changed files with 8 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2008-07-27 Nicolas François <nicolas.francois@centraliens.net>
* src/groupmems.c (whoami): Make sure usr and grp are not NULL
before dereferencing them.
2008-07-27 Nicolas François <nicolas.francois@centraliens.net>
* src/groupmems.c: Use xstrdup() rather than strdup().