Overview
| Artifact ID: | 177c0f651164751db9cb1bce2c2022f2c3f8c33b |
|---|---|
| Ticket: | 888777ffffffffffffffffffffffffffffffffff
Potential mem leak in TcpGetOptionProc if host name too long |
| User & Date: | stwo on 2004-02-01 23:41:26 |
Changes
- assignee changed to: "andreas_kupries"
- cmimetype changed to: "text/plain"
- comment changed to:
In unix/tclUnixChan.c, TcpGetOptionProc, options -peername and -sockname. if the size of the hostname returned by the system causes Tcl to allocate memory for Tcl_DString 'ds', that memory will never be freed. I have tested this with: while {1} {fconfigure $sock -peername} hostname <= 195 chars - ok hostname > 195 chars - memory leak Patch included for Tcl-8.4.5 Stu - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "stwo"
- subsystem changed to: "25. Channel System"
- title changed to:
Potential mem leak in TcpGetOptionProc if host name too long
- type changed to: "Bug"