about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/i386/sysconf.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-04-12 00:12:02 +0200
committerAurelien Jarno <aurelien@aurel32.net>2024-07-20 20:52:40 +0200
commite47b88d2fb0c740f7ff87fc50a3d299e8396db4f (patch)
tree0687ca313907acb6b8a5869f8ff2a3a482ef0296 /sysdeps/unix/sysv/linux/i386/sysconf.c
parentf908fa07c6cde14f1e6247476776c2bf3e901e91 (diff)
downloadglibc-release/2.36/master.tar.gz
glibc-release/2.36/master.tar.xz
glibc-release/2.36/master.zip
aio: Fix freeing memory release/2.36/master
The content of the pool array is initialized only until pool_size,
pointers between pool_size and pool_max_size were not initialized by the
realloc call in get_elem so they should not be freed.

This fixes aio tests crashing at their termination on GNU/Hurd.

(cherry picked from commit 0cee4aa92f5b9b213856c8ba1ab84c34d73c943b)
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/sysconf.c')
0 files changed, 0 insertions, 0 deletions