nscd: Use struct scratch_buffer, not extend_alloca in most caches [BZ #18023]
commit2f9f0d182eb87bfab49534d4f9ac102d6c0c0469
authorFlorian Weimer <fweimer@redhat.com>
Mon, 25 Jun 2018 14:04:29 +0000 (25 16:04 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 25 Jun 2018 16:41:52 +0000 (25 18:41 +0200)
tree64fa5153b603211a98a89ef0847d6640d45e38b9
parent318bad78b084cd510c7b672a1a0859c0df08dbb7
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.
ChangeLog
nscd/grpcache.c
nscd/hstcache.c
nscd/pwdcache.c
nscd/servicescache.c