Skip to content
Tcl Source Code History Of Ticket 3192636fffffffff
Login

History Of Ticket 3192636fffffffff

Artifacts Associated With Ticket 3192636fffffffff

  1. Ticket change [8daa4a5b8e] (rid 127974) by dgp on 2011-02-25 21:27:25:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      The TclFindElement() routine accepts a pair of
      arguments (CONST char *list) and (int listLength)
      which determine the string to be parsed. 
      
      Examination of that string ought not continue beyond
      the byte (list + listLength) but if that point happens
      in the middle of a backslash escape sequence, nothing
      is done to prevent it.
      
      Looking for any ways to demo this via public access...
      
      
    4. foundin initialized to: "None"
    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: "dgp"
    10. subsystem initialized to: "None"
    11. title initialized to: "TclFindElement permits buffer overrun"
    12. type initialized to: "Bug"
  2. Ticket change [7aaa5a072e] (rid 90370) by dgp on 2011-02-26 04:49:26:

    1. icomment:
      
      % testparser {{*}\u218} 8
      - {{*}\u218} 1 expand {{*}\u218} 1 backslash {\u218} 0 {}
      
      % testparser {{*}\u218} 7
      - \{*\}\\u218\}¾r\n 1 expand \{*\}\\u218\}¾r 12 backslash {\u218} 0 text  0 text \} 0 text  0 text  0 text ¾ 0 text  0 text  0 text  0 text r 0 text  0 text  0 {}
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [b0c6287867] (rid 98036) by dgp on 2011-03-05 14:38:58:

    1. icomment:
      That actually demos a different bug in TclParseBackslash.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [ea04d7cb88] (rid 104904) by dgp on 2011-03-06 11:36:57:

    1. icomment:
      see 3200987
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [8c03df5d7c] (rid 127681) by dgp on 2011-03-07 00:53:50:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2011-03-06T17:53:50"
    3. closer changed to: "dgp"
    4. foundin changed to: "obsolete: 8.5.9"
    5. icomment:
      OK, with that bug fixed, there's no way 
      a script can run into this problem.  We
      can declare it "not a bug" so long as we
      add a precondition for all callers of this
      private routine that *(list+listLength) == `\0` .
      
      Since most of the time, the string being parsed
      is the bytes field of a Tcl_Obj, this is usually
      easily satisfied.
      
      
    6. login: "dgp"
    7. mimetype: "text/plain"
    8. resolution changed to: "Wont Fix"
    9. status changed to: "Pending"
    10. subsystem changed to: "45. Parsing and Eval"
    11. username: "dgp"
  6. Ticket change [84b4e9ad10] (rid 117605) by dgp on 2011-03-07 02:53:13:

    1. icomment:
      Nah, it's too simple a fix not to fix it.
      The only real snag is no easy way to
      add a test.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. status changed to: "Open"
    5. username: "dgp"
  7. Ticket change [07c71a7834] (rid 89464) by dgp on 2011-03-07 03:07:44:

    1. closedate changed to: "2011-03-06T20:07:44"
    2. closer changed to: "dgp"
    3. icomment:
      
      
      allow_comments - 1
      
      fixed in all open branches
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dgp"