More fallout from OOM in NSS
This commit is contained in:
parent
0490345c9f
commit
64031225b2
|
@ -1,3 +1,8 @@
|
|||
2011-09-25 Jiri Olsa <jolsa@redhat.com>
|
||||
|
||||
* nss/nsswitch.c (__nss_database_lookup): Handle
|
||||
nss_parse_service_list out of memory case.
|
||||
|
||||
2011-09-15 Jiri Olsa <jolsa@redhat.com>
|
||||
|
||||
* nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
|
||||
|
|
|
@ -147,7 +147,7 @@ __nss_database_lookup (const char *database, const char *alternate_name,
|
|||
|
||||
__libc_lock_unlock (lock);
|
||||
|
||||
return 0;
|
||||
return *ni != NULL ? 0 : -1;
|
||||
}
|
||||
libc_hidden_def (__nss_database_lookup)
|
||||
|
||||
|
|
Loading…
Reference in New Issue