Skip Menu |
 

This queue is for tickets about the Danga-Socket CPAN distribution.

Report information
The Basics
Id: 129487
Status: new
Priority: 0/
Queue: Danga-Socket

People
Owner: Nobody in particular
Requestors: e [...] 80x24.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Attachments
0001-epoll-fix-misordered-EPOLL_CTL_DEL-call.patch



Subject: epoll: fix misordered EPOLL_CTL_DEL call
Date: Wed, 8 May 2019 19:02:56 +0000
To: bug-Danga-Socket [...] rt.cpan.org
From: Eric Wong <e [...] 80x24.org>
Download (untitled) / with headers
text/plain 242b
Any operations on an fd after POSIX::close() are invalid, so epoll_ctl will fail. Worse off, in a multi-threaded Perl, the fd may be reused by another thread and EPOLL_CTL_DEL can hit the wrong file description as a result. Patch attached.

Message body is not shown because sender requested not to inline it.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.