[Bug build/23987] shell-container leaks file descriptors.

schwab@linux-m68k.org sourceware-bugzilla@sourceware.org
Fri Dec 14 20:27:00 GMT 2018


https://sourceware.org/bugzilla/show_bug.cgi?id=23987

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
228       if (new_stderr != 2)
229         {
230           dup2 (new_stderr, 2);
231           close (new_stdout);
232         }

This should close new_stderr.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list