aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/xmake.lua
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-03-20 12:09:27 +0100
committerStefan Boberg <[email protected]>2026-03-20 12:09:27 +0100
commit2e72de5680d382c84623791dd3825c324f623933 (patch)
treeda92c824cb4de2bdb3ce475f506062e4f172426d /src/zenhttp/xmake.lua
parentupdate .gitignore to exclude .claude/worktrees (diff)
downloadzen-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