More fallout from OOM in NSS

This commit is contained in:
Jiri Olsa 2011-10-06 03:14:21 -04:00 committed by Ulrich Drepper
parent 0490345c9f
commit 64031225b2
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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)