diff options
author | Florian Weimer <fweimer@redhat.com> | 2015-03-01 18:59:48 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-04-25 06:19:30 +0200 |
commit | 4e10cf98c38e471f1c0637150c51fa2935b271fa (patch) | |
tree | a544092d359154150e288955ebba9fdd776df154 /argp | |
parent | 4e0898ab1bd8502cf4acbbe82c1755127b561ae8 (diff) | |
download | glibc-4e10cf98c38e471f1c0637150c51fa2935b271fa.tar.gz |
nscd: Switch to struct scratch_buffer in adhstaiX
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 'argp')
0 files changed, 0 insertions, 0 deletions