From c51c09b8ee35a713332ae54358e7d31cd3d085cf Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Sun, 5 Jul 2020 13:14:36 +0300 Subject: [PATCH] poll: requires reinit (otherwise it leaks signal handlers) Fixes: main/fork under POLL with ASAN --- poll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poll.c b/poll.c index ddae2bf0..c3c9aac5 100644 --- a/poll.c +++ b/poll.c @@ -90,7 +90,7 @@ const struct eventop pollops = { poll_del, poll_dispatch, poll_dealloc, - 0, /* doesn't need_reinit */ + 1, /* need_reinit */ EV_FEATURE_FDS|EARLY_CLOSE_IF_HAVE_RDHUP, sizeof(struct pollidx), }; -- 2.40.0