https://bugs.exim.org/show_bug.cgi?id=2010
Bug ID: 2010 Summary: sljitProtExecAllocator temp file descriptor isn't CLOEXEC Product: PCRE Version: N/A Hardware: x86 OS: Linux Status: NEW Severity: bug Priority: medium Component: Code Assignee: p...@hermes.cam.ac.uk Reporter: c...@gnome.org CC: pcre-dev@exim.org Libraries that open files should make sure the FD is closed on exec, so either open using O_CLOEXEC, or set FD_CLOEXEC on the FD later. Here the (temp) file is opened using mkstemp(), so an fcntl(fd, F_SETFD, FD_CLOEXEC) should be placed immediately afterwards. -- You are receiving this mail because: You are on the CC list for the bug. -- ## List details at https://lists.exim.org/mailman/listinfo/pcre-dev