Artifacts Associated With Ticket 2372314fffffffff
Ticket change [1b49862d98] (rid 123123) by dgp on 2008-12-01 17:18:55:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
When TIP 210 was discussed in 2006, security issues were raised for implementations based on mkstemp(). Since some branches of the committed implementation do appear to be based on mkstemp(), are those issues relevant? http://aspn.activestate.com/ASPN/Mail/Message/tcl-core/2983905 Please review and comment.
- foundin initialized to: "obsolete: 8.6a4"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "16. Commands A-H"
- title initialized to: "TIP 210 security"
- type initialized to: "Bug"
Ticket change [ef1fbaa3cd] (rid 108936) by dkf on 2008-12-02 16:09:13:
- closedate changed to: "2008-12-02T09:09:13"
- closer changed to: "dkf"
- icomment:
The FD returned by mkstemp() is the one that gets formed into a Tcl_Channel. But if you're creating a temporary file to use with an external API that requires a filename (they exist, alas) then you have to be able to get the filename as well. This is why the result of [file tempfile] is a channel name and you're allowed to give a variable name to get the filename if you want. Of slightly more concern is the fact that we may use the filename internally before returning to the script level (to unlink the file so it will get cleaned up on close) but I'm not sure what to do about that. Improvements welcome.
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Pending"
- username: "dkf"
Ticket change [04a68c5bb0] (rid 120038) by sf-robot on 2008-12-17 09:20:07:
- closedate changed to: "2008-12-17T02:20:07"
- closer changed to: "sf-robot"
- icomment:
This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).
- login: "sf-robot"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "sf-robot"