- (dtucker) [uidswap.c] Minor KNF. ok djm@

This commit is contained in:
Darren Tucker 2004-02-24 13:17:30 +11:00
Родитель a811d9a9a1
Коммит 2359aa985d
2 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -19,6 +19,7 @@
- (djm) [groupaccess.c uidswap.c] Bug #787: Size group arrays at runtime
using sysconf() if available Based on patches from
holger AT van-lengerich.de and openssh_bugzilla AT hockin.org
- (dtucker) [uidswap.c] Minor KNF. ok djm@
20040223
- (dtucker) [session.c] Bug #789: Only make setcred call for !privsep in the
@ -1922,4 +1923,4 @@
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
$Id: ChangeLog,v 1.3250 2004/02/24 02:05:11 djm Exp $
$Id: ChangeLog,v 1.3251 2004/02/24 02:17:30 dtucker Exp $

Просмотреть файл

@ -79,7 +79,7 @@ temporarily_use_uid(struct passwd *pw)
if (getgroups(saved_egroupslen, saved_egroups) < 0)
fatal("getgroups: %.100s", strerror(errno));
} else { /* saved_egroupslen == 0 */
if (saved_egroups)
if (saved_egroups != NULL)
xfree(saved_egroups);
}