Skip to content
Tcl Source Code History Of Ticket 219362
Login

History Of Ticket 219362

Artifacts Associated With Ticket 219362

  1. Ticket change [2d4174405b] (rid 119035) by nobody on 2000-10-26 05:11:28:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 5900 Bug
      Version: 8.3.1
      SubmitDate: '2000-06-14'
      LastModified: '2000-06-14'
      Severity: MED
      Status: UnAssn
      Submitter: welch
      ChangedBy: welch
      OS: All
      FixedDate: '2000-10-25'
      ClosedDate: '2000-10-25'
      
      
      You need to run TclX to see this bug, but the callback made via
      Tcl_CreateTrace passes in a command argument that is no longer
      null-terminated at the end of the command.  Instead you see the
      rest of the script.  This probably occurred in the effort to
      remove "null hammering".
      
      To see, take this script:
      
      proc someProc {} {}
      
      cmdtrace on noeval
      someProc
      someProc
      someProc
      cmdtrace off
      
      And run it from the command line with Tcl X:
      
      ./tcl trace.test
       1:  someProc\nsomeProc\nsomeProc\ncmdtrace off\n
       1:  someProc\nsomeProc\ncmdtrace off\n
       1:  someProc\ncmdtrace off\n
       1:  cmdtrace off\n
      
      In this simple case, the string should terminate at the \n
      
      
      
      This has been broken since 8.2, we think.  It would be nice to fix
      for Tcl 8.3.2 and TclPro 1.4
      
    4. foundin initialized to: "obsolete: 8.3.1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to:
      Tcl_CreateTrace callback does not terminate command string c
      
    11. type initialized to: "Bug"
  2. Ticket change [55e0158f3a] (rid 94228) by dgp on 2001-01-27 00:59:58:

    1. icomment:
      Patch 103420 has been proposed as a fix for this bug.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [becafd16c4] (rid 102140) by dkf on 2001-01-31 17:54:51:

    1. subsystem changed to: "45. Parsing and Eval"
  4. Ticket change [1aa545ac93] (rid 123015) by msofer on 2001-05-05 05:26:37:

    1. assignee changed to: "msofer"
  5. Ticket change [b180d70179] (rid 98158) by msofer on 2001-05-22 05:40:34:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      Related patches: #403420 & #403430
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  6. Ticket change [ddae491044] (rid 114715) by msofer on 2001-12-11 05:16:26:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      David Knoll proposed a patch for this bug [Patch 403420].
      The patch has been updated to current HEAD and is provided
      here as 219362.patch
      
      The comments in the original patch were:
      "all we've done here is substitute a new and more accurate
      string length value in lieu of 'bytesLeft'. 
      parse.commentStart and parse.commentSize could probably also
      be used to prevent any leading comments from being passed to
      the tclTrace callback."
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  7. Ticket change [57fa3cfa77] (rid 117723) by msofer on 2001-12-11 05:16:27:

    1. icomment:
      
      
      File Added - 14472: 219362.patch
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  8. Add attachment "219362.patch" [b5cd8c1237] (rid 125306) by msofer on 2001-12-11 05:16:27.

  9. Ticket change [c79d5940ee] (rid 121961) by msofer on 2002-03-28 02:21:56:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      Patch committed; how did I forget?
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  10. Ticket change [b7b0f8a49a] (rid 128844) by msofer on 2002-03-28 02:22:35:

    1. closedate changed to: "2002-03-27T19:22:35"
    2. closer changed to: "msofer"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"