diff options
| author | Stefan Boberg <[email protected]> | 2026-03-20 12:09:27 +0100 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2026-03-20 12:09:27 +0100 |
| commit | 2e72de5680d382c84623791dd3825c324f623933 (patch) | |
| tree | da92c824cb4de2bdb3ce475f506062e4f172426d /src/zenhttp/xmake.lua | |
| parent | update .gitignore to exclude .claude/worktrees (diff) | |
| download | zen-sb/pipes.tar.xz zen-sb/pipes.zip | |
Fix TOCTOU race in ProcessHandle::Wait() on Linux/Macsb/pipes
waitpid(WNOHANG) can return 0 in the same iteration that
IsProcessRunning detects a zombie, causing Wait() to return without
ever setting m_ExitCode. Fix by doing a blocking waitpid reap before
returning in both exit paths (IsProcessRunning and IsZombieProcess).
Diffstat (limited to 'src/zenhttp/xmake.lua')
0 files changed, 0 insertions, 0 deletions