Tcl Source Code

View Ticket
Login
Ticket UUID: 2417695
Title: Pipe descriptor leak
Type: Bug Version: obsolete: 8.6a4
Submitter: a3a3el Created on: 2008-12-11 16:54:47
Subsystem: 01. Notifier Assigned To: kennykb
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2008-12-12 23:07:50
Resolution: Fixed Closed By: ferrieux
    Closed on: 2008-12-12 16:07:50
Description:
The receive- and trigger-pipe descriptors in the UNIX notifier are not set FD_CLOEXEC, so they leak to any child processes.
User Comments: ferrieux added on 2008-12-12 23:07:50:
Committed.

ferrieux added on 2008-12-12 21:32:41:

File Added - 305053: pipe_cloexec.patch

File Added: pipe_cloexec.patch

ferrieux added on 2008-12-12 06:35:18:
You are right. And this also points to a yet undetected similar bug with standalone pipes [chan pipe]. I will fix both as soon as I get back to a unix system. Thanks !

a3a3el added on 2008-12-11 23:54:47:

File Added - 304930: tcl_unix_notify.patch

Attachments: