mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
Update.
1999-05-18 Thorsten Kukuk <kukuk@suse.de> * nis/nis_lookup.c (nis_lookup): If we run out of memory, close RPC connection.
This commit is contained in:
parent
37206c3adc
commit
2acd8fcfc4
@ -1,3 +1,8 @@
|
||||
1999-05-18 Thorsten Kukuk <kukuk@suse.de>
|
||||
|
||||
* nis/nis_lookup.c (nis_lookup): If we run out of memory, close
|
||||
RPC connection.
|
||||
|
||||
1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
|
||||
|
||||
* sysdeps/sparc/sparc64/rawmemchr.S: New file.
|
||||
|
@ -127,7 +127,10 @@ nis_lookup (const_nis_name name, const unsigned int flags)
|
||||
nis_freeresult (res);
|
||||
res = calloc (1, sizeof (nis_result));
|
||||
if (res == NULL)
|
||||
{
|
||||
__nisbind_destroy (&bptr);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
link_first_try = 1; /* Try at first the old binding */
|
||||
goto again;
|
||||
|
Loading…
Reference in New Issue
Block a user