diff options
author | Joe Simmons-Talbott <josimmon@redhat.com> | 2023-05-03 12:40:05 -0400 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2023-05-05 10:55:48 -0400 |
commit | 21f0b087ee10391433d8279e7c6f104fb9ea0eef (patch) | |
tree | 99ceac5eddee45885884323d01d492f682bcb144 /resolv/tst-resolv-aliases.c | |
parent | 642f1b9b3de8d847b43af928107057116eb6e7f1 (diff) | |
download | glibc-21f0b087ee10391433d8279e7c6f104fb9ea0eef.tar.gz glibc-21f0b087ee10391433d8279e7c6f104fb9ea0eef.tar.xz glibc-21f0b087ee10391433d8279e7c6f104fb9ea0eef.zip |
time: Remove alloca() from getdate
Reduce the usage of alloca() to the bare minimum to avoid the potential for stack overflow. Use __strndup to simplify the code. Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'resolv/tst-resolv-aliases.c')
0 files changed, 0 insertions, 0 deletions