mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 02:28:09 +00:00
fixed resize; removed more statics
This commit is contained in:
@ -1787,7 +1787,7 @@ void fix_up_sync(afl_state_t *afl) {
|
||||
|
||||
static void handle_resize(int sig) {
|
||||
|
||||
LIST_FOREACH(&afl_states, afl_state_t, { el->clear_screen; });
|
||||
LIST_FOREACH(&afl_states, afl_state_t, { el->clear_screen = 1; });
|
||||
|
||||
}
|
||||
|
||||
@ -2125,11 +2125,6 @@ void setup_signal_handlers(void) {
|
||||
sigaction(SIGINT, &sa, NULL);
|
||||
sigaction(SIGTERM, &sa, NULL);
|
||||
|
||||
/* Exec timeout notifications. */
|
||||
|
||||
sa.sa_handler = handle_timeout;
|
||||
sigaction(SIGALRM, &sa, NULL);
|
||||
|
||||
/* Window resize */
|
||||
|
||||
sa.sa_handler = handle_resize;
|
||||
|
Reference in New Issue
Block a user