Skip to content
Snippets Groups Projects
Commit 6d6e7c8e authored by Vivek Das Mohapatra's avatar Vivek Das Mohapatra
Browse files

If we had to emergency-backtrace, abort()

If someone actually reaches a shim stubroutine the stack
may be corrupt - the stubroutines don't have the same signature
as the functions they act as placeholders for.

Rather than risk proceeding with a borked stack we now abort once
we've tried to dump a backtrace.
parent 103f7ab3
Branches
Tags
1 merge request!311Build capsule-capture-libs from a bundled copy of libcapsule
......@@ -30,7 +30,7 @@
{ \
fprintf(stderr, "! SHIM " #name " called\n" ); \
backtrace_shim_call(); \
return; \
abort(); \
}
#define VERSIONED_STUB(name,version) \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment