diff options
author | Florian Weimer <fweimer@redhat.com> | 2018-06-25 16:05:46 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2018-06-25 18:41:54 +0200 |
commit | 6b7b2abac75f969a86c537d64adf003378e24113 (patch) | |
tree | 2a21c31d51b43cabd497965a4cfd88f2ea674b61 /pwd | |
parent | 2f9f0d182eb87bfab49534d4f9ac102d6c0c0469 (diff) | |
download | glibc-6b7b2abac75f969a86c537d64adf003378e24113.zip glibc-6b7b2abac75f969a86c537d64adf003378e24113.tar.gz glibc-6b7b2abac75f969a86c537d64adf003378e24113.tar.bz2 |
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 'pwd')
0 files changed, 0 insertions, 0 deletions