Overview
| Artifact ID: | ca0a13bc4bfe1e79558b9469557779f5ccb18f36 |
|---|---|
| Ticket: | 1518166fffffffffffffffffffffffffffffffff
Possible un-Init'd DString in latest tclWinSock.c |
| User & Date: | dgp on 2006-07-11 03:12:29 |
Changes
- icomment:
Logged In: YES user_id=80530 Tcl_WinTCharToUtf() is documented to take an uninitialized Tcl_DString. Look like the init/free balance is correct to me. Looks like the code assumes the value returned by gethostname() is in lowercase. If there's reason to believe that assumption can fail, the Tcl_UtfToLower() call can be added to the lower branch. The same maintainers who could answer that definitively could supply the proper buffer size requested in the code comments.
- login: "dgp"
- mimetype: "text/plain"
- priority changed to: "1 Zero"
- username: "dgp"