aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/clone3.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2022-10-11 14:22:35 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2022-10-28 11:16:09 +0100
commiteef17d4d9fcd38c5cbb9bc9515ba72d1773b67a2 (patch)
treeb7b53fe307a94d583aa7681a7b0d7653c45a3e02 /sysdeps/unix/sysv/linux/clone3.c
parent68619ddb3b7e8b64a6b849e4972e67163f7659c3 (diff)
downloadglibc-eef17d4d9fcd38c5cbb9bc9515ba72d1773b67a2.tar
glibc-eef17d4d9fcd38c5cbb9bc9515ba72d1773b67a2.tar.gz
glibc-eef17d4d9fcd38c5cbb9bc9515ba72d1773b67a2.tar.bz2
glibc-eef17d4d9fcd38c5cbb9bc9515ba72d1773b67a2.zip
elf: Fix alloca size in _dl_debug_vdprintf
The alloca size did not consider the optional width parameter for padding which could cause buffer underflow. The width is currently used e.g. by _dl_map_object_from_fd which passes 2 * sizeof(void *) which can be larger than the alloca buffer size on targets where sizeof(void *) >= 2 * sizeof(unsigned long). Even if large width is not used on existing targets it is better to fix the formatting code to avoid surprises. Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/clone3.c')
0 files changed, 0 insertions, 0 deletions