[PATCH] eventpoll: fix possible use-after-free
From: Davide Libenzi <davidel@xmailserver.org> After the ep_remove() the "epi" is given back to the cache, so "epi->ep" might become invalid. It was not cought by my tests because the element wasn't immediately reused (and because I was using a single epoll fd, so the "ep" item remained the same).
Showing
Please register or sign in to comment