summaryrefslogtreecommitdiff
path: root/posix/unistd.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2015-03-01 19:09:00 +0100
committerFlorian Weimer <fweimer@redhat.com>2016-04-25 06:19:30 +0200
commite970ea40df40ab5da24c984a0612f98a798221d8 (patch)
tree9875826fe8e52373f3a478ccdbbb569c6369002d /posix/unistd.h
parent34ddffb50c2d2159c152cc34516f4c4088b3cc36 (diff)
downloadglibc-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/unistd.h')
0 files changed, 0 insertions, 0 deletions