diff options
author | Florian Weimer <fweimer@redhat.com> | 2015-03-01 19:09:00 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-04-25 06:19:30 +0200 |
commit | e970ea40df40ab5da24c984a0612f98a798221d8 (patch) | |
tree | 9875826fe8e52373f3a478ccdbbb569c6369002d /posix/fpathconf.c | |
parent | 34ddffb50c2d2159c152cc34516f4c4088b3cc36 (diff) | |
download | glibc-e970ea40df40ab5da24c984a0612f98a798221d8.tar.gz |
nss_files: Use struct scratch_buffer instead of extend_alloca
In both _nss_files_gethostbyname3_r and _nss_files_initgroups_dyn,
__libc_use_alloca was misused because it was not taken into account
that extend_alloca can fail to merge allocations.
[BZ #18023]
* nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
Use struct scratch_buffer instead of extend_alloca.
* nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
Likewise.
Diffstat (limited to 'posix/fpathconf.c')
0 files changed, 0 insertions, 0 deletions