From 6b7b2abac75f969a86c537d64adf003378e24113 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 25 Jun 2018 16:05:46 +0200 Subject: 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. --- ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 5b1c0315e0..1cafbb1882 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2018-06-25 Florian Weimer + + [BZ #18023] + * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead + of extend_alloca. + 2018-06-25 Florian Weimer [BZ #18023] -- cgit v1.2.3