Skip to content

Race condition on IPC socket accept #199

@kelunik

Description

@kelunik

We write the key to the child before registering it to be received, which is inside accept.

If the child connects fast enough, this will result in a race condition. The race condition will only happen if there are multiple concurrent accepts, because we start to accept only after registering the key. With concurrent pending connects, we might already be in the accept loop.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions