Skip to content
Tcl Source Code History Of Ticket 1968245
Login

History Of Ticket 1968245

Artifacts Associated With Ticket 1968245

  1. Ticket change [8aa9d207a5] (rid 127430) by cdarroch on 2008-05-20 20:36:38:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      With Tcl 8.5.2, Tcl_LogCommandInfo() uses its length
      argument in the following test before checking whether
      length is negative, which a caller may use to indicate
      that all bytes of the command argument (up to the first
      null byte) should be used.  At least, the documentation
      and code comments imply this is how the function
      should operate, and it used to accept -1 as a length
      value in 8.4.
      
      Attached is a simple patch which checks for this and
      uses strlen() to determine the length of the command
      string.
      
    4. foundin initialized to: "obsolete: 8.5.2"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "cdarroch"
    10. subsystem initialized to: "45. Parsing and Eval"
    11. title initialized to: "Tcl_LogCommandInfo() fails with length == -1"
    12. type initialized to: "Bug"
  2. Add attachment "tclNamesp.c.patch" [a30c3f353a] (rid 109994) by cdarroch on 2008-05-21 03:36:39.

  3. Ticket change [c13f00c515] (rid 111288) by cdarroch on 2008-05-21 03:36:39:

    1. icomment:
      
      
      File Added - 278472: tclNamesp.c.patch
      
      
      
    2. login: "cdarroch"
    3. mimetype: "text/plain"
    4. username: "cdarroch"
  4. Ticket change [8cebc6c84b] (rid 127820) by cdarroch on 2008-05-21 03:39:43:

    1. icomment:
      Logged In: YES 
      user_id=637999
      Originator: YES
      
      Sorry, that wasn't particularly clear.  The test in question is:
      
      overflow = (length > limit);
      
      I believe length needs to be non-negative before this test
      is performed.
      
      
    2. login: "cdarroch"
    3. mimetype: "text/plain"
    4. username: "cdarroch"
  5. Ticket change [ec99a352c0] (rid 103734) by dgp on 2008-05-21 20:42:08:

    1. assignee changed to: "dgp"
    2. priority changed to: "7 High"
  6. Ticket change [b66a396e82] (rid 125418) by dgp on 2008-05-22 22:14:10:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      
      2005-09-14 commit to tclBasic.c
      introduced this bug.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [2a305b5446] (rid 118512) by dgp on 2008-05-22 22:18:32:

    1. closedate changed to: "2008-05-22T15:18:32"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      
      Fixed on HEAD and for 8.5.3
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dgp"