aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2018-06-25 16:04:29 +0200
committerFlorian Weimer <fweimer@redhat.com>2018-06-25 18:41:52 +0200
commit2f9f0d182eb87bfab49534d4f9ac102d6c0c0469 (patch)
tree64fa5153b603211a98a89ef0847d6640d45e38b9 /ChangeLog
parent318bad78b084cd510c7b672a1a0859c0df08dbb7 (diff)
downloadglibc-2f9f0d182eb87bfab49534d4f9ac102d6c0c0469.tar
glibc-2f9f0d182eb87bfab49534d4f9ac102d6c0c0469.tar.gz
glibc-2f9f0d182eb87bfab49534d4f9ac102d6c0c0469.tar.bz2
glibc-2f9f0d182eb87bfab49534d4f9ac102d6c0c0469.zip
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--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4da861699c..5b1c0315e0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.