mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Fix BZ #18084 -- backtrace (..., 0) dumps core on x86.
Other architectures also had bugs, or did unnecessary work.
This commit is contained in:
@ -94,6 +94,12 @@ fn3 (void)
|
||||
NO_INLINE static int
|
||||
do_test (void)
|
||||
{
|
||||
/* Test BZ #18084. */
|
||||
void *buffer[1];
|
||||
|
||||
if (backtrace (buffer, 0) != 0)
|
||||
FAIL ();
|
||||
|
||||
fn3 ();
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user