aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2018-06-25 16:05:46 +0200
committerFlorian Weimer <fweimer@redhat.com>2018-06-25 18:41:54 +0200
commit6b7b2abac75f969a86c537d64adf003378e24113 (patch)
tree2a21c31d51b43cabd497965a4cfd88f2ea674b61 /ChangeLog
parent2f9f0d182eb87bfab49534d4f9ac102d6c0c0469 (diff)
downloadglibc-6b7b2abac75f969a86c537d64adf003378e24113.tar
glibc-6b7b2abac75f969a86c537d64adf003378e24113.tar.gz
glibc-6b7b2abac75f969a86c537d64adf003378e24113.tar.bz2
glibc-6b7b2abac75f969a86c537d64adf003378e24113.zip
nscd: Switch to struct scratch_buffer in adhstaiX [BZ #18023]
The pre-allocation of the three scratch buffers increased the initial stack size somewhat, but if retries are needed, the previous version used more stack space if extend_alloca could not merge allocations. Lack of alloca accounting also means could be problematic with extremely large NSS responses, too. [BZ #18023] * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead of extend_alloca.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5b1c0315e0..1cafbb1882 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,12 @@
2018-06-25 Florian Weimer <fweimer@redhat.com>
[BZ #18023]
+ * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
+ of extend_alloca.
+
+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.