diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-09-29 17:07:11 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-09-29 17:07:11 +0000 |
commit | 154619b591282fc664dbedaee4fab8b57206c9ab (patch) | |
tree | 82698279e96ec2a5628414578a9ea63f0c038d66 /nscd | |
parent | 1c31aa7979138ee5bb443e5adfd6c22ff0680fd8 (diff) | |
download | glibc-154619b591282fc664dbedaee4fab8b57206c9ab.zip glibc-154619b591282fc664dbedaee4fab8b57206c9ab.tar.gz glibc-154619b591282fc664dbedaee4fab8b57206c9ab.tar.bz2 |
[BZ #3273]
2006-09-29 Ulrich Drepper <drepper@redhat.com>
[BZ #3273]
* nscd/nscd_initgroups.c (__nscd_getgrouplist): It is OK to have
found no group members.
Patch by Petr Baudis.
2006-09-29 Jakub Jelinek <jakub@redhat.com>
* elf/rtld.c (_dl_start_final): If not USE___THREAD, don't
assert bootstrap_map.l_tls_modid is zero.
(_dl_start): Initialize bootstrap_map.l_tls_modid to 0
if USE___THREAD.
Diffstat (limited to 'nscd')
-rw-r--r-- | nscd/nscd_initgroups.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nscd/nscd_initgroups.c b/nscd/nscd_initgroups.c index 3d82275..97a037d 100644 --- a/nscd/nscd_initgroups.c +++ b/nscd/nscd_initgroups.c @@ -91,7 +91,7 @@ __nscd_getgrouplist (const char *user, gid_t group, long int *size, doesn't use memcpy but instead copies each array element one by one. */ assert (sizeof (int32_t) == sizeof (gid_t)); - assert (initgr_resp->ngrps > 0); + assert (initgr_resp->ngrps >= 0); /* Make sure we have enough room. We always count GROUP in even though we might not end up adding it. */ |