mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-22 15:54:21 +08:00
Update.
1998-04-24 Ulrich Drepper <drepper@cygnus.com> * inet/rcmd.c (__ivaliduser): Check buf for being NULL before free()ing.
This commit is contained in:
parent
0777024193
commit
c3f556889b
@ -1,3 +1,8 @@
|
||||
1998-04-24 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* inet/rcmd.c (__ivaliduser): Check buf for being NULL before
|
||||
free()ing.
|
||||
|
||||
1998-04-24 13:56 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* sysdeps/generic/bits/socket.h: Add #defines for enum values.
|
||||
|
@ -438,7 +438,8 @@ __ivaliduser(hostf, raddr, luser, ruser)
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
free (buf);
|
||||
if (buf != NULL)
|
||||
free (buf);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user