diff options
author | Florian Weimer <fweimer@redhat.com> | 2018-06-25 18:56:42 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2018-06-25 18:58:49 +0200 |
commit | 90d9d9ce2fbeef0f24a957efa83f5a78367a84d4 (patch) | |
tree | 05ebd40e8bb0e922dcedfabb37e1084b24de41b7 /elf/tst-addr1.c | |
parent | 6b7b2abac75f969a86c537d64adf003378e24113 (diff) | |
download | glibc-90d9d9ce2fbeef0f24a957efa83f5a78367a84d4.tar.gz glibc-90d9d9ce2fbeef0f24a957efa83f5a78367a84d4.tar.xz glibc-90d9d9ce2fbeef0f24a957efa83f5a78367a84d4.zip |
getgrent_next_nss (compat-initgroups): Remove alloca fallback [BZ #18023]
If the caller-supplied buffer is not large enough, fall back directly malloc. The previous __libc_use_alloca check was incorrect because it did not take into account that extend_alloca may fail to merge allocations, so it would underestimate the stack space being used by roughly a factor of two.
Diffstat (limited to 'elf/tst-addr1.c')
0 files changed, 0 insertions, 0 deletions