Tcl Source Code

View Ticket
Login
Ticket UUID: 2417695
Title: Pipe descriptor leak
Type: Bug Created on: 2008-12-11 16:54:47
Submitter: a3a3el Assigned to: kennykb
Subsystem: 01. Notifier Severity:
Priority: 5 Medium Last modified: 2008-12-12 23:07:50
Status: Closed Closed by: ferrieux
Resolution: Fixed Closed on: 2008-12-12 16:07:50
Version: obsolete: 8.6a4
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:
a3a3el added on 2008-12-11 23:54:47:

File Added - 304930: tcl_unix_notify.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 !

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 23:07:50:
Committed.

Attachments: