nscd_getgr_r: Use struct scratch_buffer instead of extend_alloca
commit561052ad35d7004a6f69c772a6a2a106e436f950
authorFlorian Weimer <fweimer@redhat.com>
Wed, 8 Apr 2015 18:58:58 +0000 (8 20:58 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 8 Apr 2015 19:08:03 +0000 (8 21:08 +0200)
tree20bdf85312c9aa3362e3334fe657c23e93636b22
parentc6ee40da8b7b285a644dc22b78d8e47d2bebfae6
nscd_getgr_r: Use struct scratch_buffer instead of extend_alloca

The lack of alloca accounting means that the old code could run out of
stack space if multiple retries are needed.
ChangeLog
nscd/nscd_getgr_r.c