diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2024-03-25 12:45:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-25 12:45:40 +0100 |
commit | 4fce06ec96283225ceedbf181d7211830c173ee3 (patch) | |
tree | 68b3366435ab26a6daf47129db91a4572e3ca4db /src/unix/process.c | |
parent | 77e4cd5b184faedec80378049fe5edba084d310b (diff) | |
download | libuv-4fce06ec96283225ceedbf181d7211830c173ee3.tar.gz libuv-4fce06ec96283225ceedbf181d7211830c173ee3.zip |
unix: fix fd leaks in SCM_RIGHTS error path (#4358)
The file descriptor leak in the inner path was pointed out by @theanarkh
and I subsequently spotted another one in the outer loop. Rewrite the
function to process all control messages.
Refs: https://github.com/libuv/libuv/pull/4357
Diffstat (limited to 'src/unix/process.c')
0 files changed, 0 insertions, 0 deletions