diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2021-06-10 00:41:35 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2021-06-23 08:54:13 +0530 |
commit | e3217c7fd9e67aa2d53700bb1da9a966e73b9684 (patch) | |
tree | 92ce340ce752510268401f64d215cdd14c0f1769 /benchtests/bench-strcasecmp.c | |
parent | e8d52b64a54ba9ed7778ca9ce1f084eb5808f8d1 (diff) | |
download | glibc-e3217c7fd9e67aa2d53700bb1da9a966e73b9684.tar.gz glibc-e3217c7fd9e67aa2d53700bb1da9a966e73b9684.tar.xz glibc-e3217c7fd9e67aa2d53700bb1da9a966e73b9684.zip |
iconv: Remove alloca use in gconv-modules configuration parsing
The alloca sizes ought to be constrained to PATH_MAX, but replace them with dynamic allocation to be safe. A static PATH_MAX array would have worked too but Hurd does not have PATH_MAX and the code path is not hot enough to micro-optimise this allocation. Revisit if any of those realities change. Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'benchtests/bench-strcasecmp.c')
0 files changed, 0 insertions, 0 deletions