Bug #11101
Segfault due to data race on socket closing
Start date:
11/22/2022
Due date:
% Done:
100%
Estimated time:
Description
When a socket is closed for a child process, the closeClientSocket
call is executed. If this is done through SessionProcessManager::processDeadChildren()
, this can happen safely, behind a mutex.
However, this call can also come from a ProxyReply
, which does not run this behind a mutex. This can lead to a race condition.
Updated by Roel Standaert 4 months ago
- Assignee set to Roel Standaert
- Target version set to 4.9.0
Updated by Roel Standaert 4 months ago
- Status changed from InProgress to Review
- Assignee changed from Roel Standaert to Korneel Dumon