]> git.ipfire.org Git - thirdparty/glibc.git/commit
malloc: Exit early on test failure in tst-realloc
authorFlorian Weimer <fweimer@redhat.com>
Thu, 10 Mar 2022 07:50:51 +0000 (08:50 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 2 May 2024 19:40:39 +0000 (21:40 +0200)
commit3a38600cc7e1205a1a2824f83a8cce51eba0725e
tree5af10989ef74614617a27a7358ec23a912f45cad
parent924a98402a567a6a468ec0a76dfedad68a2b3433
malloc: Exit early on test failure in tst-realloc

This addresses more (correct) use-after-free warnings reported by
GCC 12 on some targets.

Fixes commit c094c232eb3246154265bb035182f92fe1b17ab8 ("Avoid
-Wuse-after-free in tests [BZ #26779].").

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
(cherry picked from commit d653fd2d9ebe23c2b16b76edf717c5dbd5ce9b77)
malloc/tst-realloc.c