diff options
author | Ulrich Drepper <drepper@redhat.com> | 2007-11-25 21:29:30 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2007-11-25 21:29:30 +0000 |
commit | e8667ddc01786cfe79861a0031d6244212fd7a65 (patch) | |
tree | 4fdb82b812bf2e98829db72a095f90efb7e60ab1 /ChangeLog | |
parent | 30294ea4495e48e0103fee4d855737a281cc49fa (diff) | |
download | glibc-e8667ddc01786cfe79861a0031d6244212fd7a65.tar glibc-e8667ddc01786cfe79861a0031d6244212fd7a65.tar.gz glibc-e8667ddc01786cfe79861a0031d6244212fd7a65.tar.bz2 glibc-e8667ddc01786cfe79861a0031d6244212fd7a65.zip |
Clear array before use.
* nscd/hstcache.c (cache_addhst): Likewise.
* nscd/grpcache.c (cache_addgr): Likewise.
* nscd/servicescache.c (cache_addserv): Likewise.
* nscd/pwdcache.c (cache_addpw): Likewise.
* nscd/initgrcache.c (addinitgroupsX): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -4,10 +4,15 @@ * nscd/mem.c (MAX_STACK_USE): Remove definition here. (gc): Initialize stack_used based on allocation in prune_cache. * nscd/cache.c (prune_cache): Use heap for mark array if necessary. - Clear array bfore use. + Clear array before use. * nscd/aicache.c (addhstaiX): Update statistics counter in case memory allocate failed. + * nscd/hstcache.c (cache_addhst): Likewise. + * nscd/grpcache.c (cache_addgr): Likewise. + * nscd/servicescache.c (cache_addserv): Likewise. + * nscd/pwdcache.c (cache_addpw): Likewise. + * nscd/initgrcache.c (addinitgroupsX): Likewise. 2007-11-23 Ulrich Drepper <drepper@redhat.com> |