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

Owner: Nobody in particular
Requestors: e [...]

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


Subject: epoll: fix misordered EPOLL_CTL_DEL call
Date: Wed, 8 May 2019 19:02:56 +0000
To: bug-Danga-Socket [...]
From: Eric Wong <e [...]>
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 infrastructure.

Please report any issues with to