diff options
author | Florian Weimer <fweimer@redhat.com> | 2018-06-25 16:04:29 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2018-06-25 18:41:52 +0200 |
commit | 2f9f0d182eb87bfab49534d4f9ac102d6c0c0469 (patch) | |
tree | 64fa5153b603211a98a89ef0847d6640d45e38b9 /ChangeLog | |
parent | 318bad78b084cd510c7b672a1a0859c0df08dbb7 (diff) | |
download | glibc-2f9f0d182eb87bfab49534d4f9ac102d6c0c0469.zip glibc-2f9f0d182eb87bfab49534d4f9ac102d6c0c0469.tar.gz glibc-2f9f0d182eb87bfab49534d4f9ac102d6c0c0469.tar.bz2 |
nscd: Use struct scratch_buffer, not extend_alloca in most caches [BZ #18023]
This replaces the ERANGE retry loops with loops which have heap
fallback. Heap allocation might actually be required for extremely
large NSS results.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,6 +1,15 @@ 2018-06-25 Florian Weimer <fweimer@redhat.com> [BZ #18023] + * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead + of extend_alloca. + * nscd/hstcache.c (addhstbyX): Likewise. + * nscd/pwdcache.c (addpwbyX): Likewise. + * nscd/servicescache.c (addservbyX): Likewise. + +2018-06-25 Florian Weimer <fweimer@redhat.com> + + [BZ #18023] * nscd/connections.c (read_cmdline): New function. (restart): Use it. Update comment. |