-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
For now signal hanlder use exit() which is not async-signal-safe, see man 7 signal-safety. It is better to use _exit() instead.
Lines 147 to 157 in d2cb24d
| NO_SANITIZE static void | |
| sig_handler(int sig) | |
| { | |
| switch (sig) { | |
| case SIGINT: | |
| exit(0); | |
| case SIGSEGV: | |
| __sanitizer_print_stack_trace(); | |
| break; | |
| } | |
| } |
Also, sometimes the crash- file is dumped if the user tries just to stop execution by SIGINT, so this file is not needed and is confusing.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels