Bug #67383 exec() leaks file and socket descriptors to called program
| From: | Yasuo Ohgaki | Date: | Wed, 27 Jan 2016 12:03:27 +0000 |
| Subject: | Bug #67383 exec() leaks file and socket descriptors to called program | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-90977@lists.php.net to get a copy of this message | ||
Hi all,
This bug comes to my attention.
https://bugs.php.net/bug.php?id=67383
This report includes patch that prevents file descriptor leaks.
https://bugs.php.net/patch-display.php?bug_id=67383&patch=SOCK_CLOEXEC-and-FD_CLOEXEC&revision=latest
There may be cases that CLOEXEC cannot be applied blindly, but it
seems this fixes lots of bugs including very old bugs.
Why this patch is not merged and closed?
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net