]> git.ipfire.org Git - thirdparty/glibc.git/commit
aio: Fix freeing memory
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 11 Apr 2023 22:12:02 +0000 (00:12 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 11 Apr 2023 22:14:08 +0000 (00:14 +0200)
commit0cee4aa92f5b9b213856c8ba1ab84c34d73c943b
tree182725de3f49afc40a87ffbe8b95d771173aa7b1
parent5473a1747a7bd10a7a271c7e01e942711a707bb8
aio: Fix freeing memory

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.
rt/aio_misc.c