| Ticket UUID: | 1577730 | ||
| Title: | interp transfer leaks information when transfering channels | ||
| Type: | Bug | Created on: | 2006-10-15 18:07:44 |
| Submitter: | mic42 | Assigned to: | hobbs |
| Subsystem: | 20. [interp] | Severity: | |
| Priority: | 5 Medium | Last modified: | 2026-10-17 10:53:34 |
| Status: | Open | Closed by: | |
| Resolution: | None | Closed on: | |
| Version: | obsolete: 8.5a5 | ||
| Description: | ||||
The interp transfer command leaks some information, the channel name, which can be used to determine if a channel is connected to a file or socket for example, into a safe interpreter. As there is currently no easy way to rename a channel, building a token like it is done for filenames in the safe base is not as easy as it could be. This is more a suggestion for tcl 9, but interp transfer could return an interp specific alias token, so that a safe slave could not determine what kind of channel he gets from the opaque value. | ||||
| User Comments: | ||||
serhiy.storchaka added on 2026-10-17 10:53:34:
The heap address in socket channel names (Unix since 8.6.0, Windows since 8.6.2) is now tracked separately in [d6c1d2f78e]. | ||||
