Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

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

  1. 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.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. priority changed to: "1 Zero"
  5. username: "dgp"