https://bugs.kde.org/show_bug.cgi?id=405227

--- Comment #1 from RJVB <[email protected]> ---
Evidently the old code avoided crashing due to the fact that casting
rl.rlim_max (an rlim_t, uint64) led to maxfd < 0 ...

Another apparently safe way to avoid this issue: use `fcntl(fd, F_SETFD,
FD_CLOEXEC)` instead of `close(fd)`. I *think* that ought to have the same
effect?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to