Skip to content
Tcl Source Code History Of Ticket 2669109
Login

History Of Ticket 2669109

Artifacts Associated With Ticket 2669109

  1. Ticket change [b6b0d8a933] (rid 125463) by dgp on 2009-03-06 18:48:16:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      appends that overflow the max
      length of a string lead to
      corrupted nonsense.
      
    4. foundin initialized to: "obsolete: 8.6b1.1"
    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: "47. Bytecode Compiler"
    11. title initialized to: "INST_CONCAT1 no overflow protection"
    12. type initialized to: "Bug"
  2. Ticket change [439690a868] (rid 116585) by ferrieux on 2009-03-08 04:15:26:

    1. icomment:
      It appears there is code duplication between INST_CONCAT1 and Tcl_AppendObjToObj.
      Is there a good reason ?
      Refactoring would solve this issue.
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  3. Ticket change [4cfe28a381] (rid 126989) by dgp on 2009-03-20 01:28:10:

    1. icomment:
      
      
      Demo:
      
      % set foo [string repeat a 8421505]; concat
      % set cmd {set bar }
      set bar
      % append cmd [string repeat {$foo} 255]; concat
      % eval $cmd; concat
      % string length $bar
      -2147483521
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [4e77ec7220] (rid 127238) by dgp on 2009-03-20 01:33:20:

    1. icomment:
      
      Demo that doesn't need a system capable of
      big allocations:
      
      % set foo [string repeat a 16843010]; concat
      % set cmd {set bar }
      set bar
      % append cmd [string repeat {$foo} 255]; concat
      % eval $cmd; concat
      make: *** [shell] Segmentation fault
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [5248691417] (rid 126290) by dgp on 2009-03-20 02:05:01:

    1. icomment:
      
      Was going to turn those into
      a test, but once the bug is
      fixed, the proper behavior will
      be to panic, which isn't test
      friendly.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Add attachment "2669109.patch" [7912a4c055] (rid 90059) by dgp on 2009-03-20 02:58:09.

  7. Ticket change [8c266e567a] (rid 127700) by dgp on 2009-03-20 02:58:09:

    1. icomment:
      
      
      File Added - 318622: 2669109.patch
      
      
      Here's a patch for the HEAD.
      File Added: 2669109.patch
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Ticket change [314cf0af08] (rid 93405) by dgp on 2009-03-20 20:41:29:

    1. icomment:
      
      More reliable demo:
      
      proc demo foo "set bar [string repeat {$foo} 255]"
      demo [string repeat a 16843010]; concat
      
      
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  9. Ticket change [149f0510ea] (rid 124424) by dgp on 2009-03-20 21:36:28:

    1. closedate changed to: "2009-03-20T14:36:28"
    2. closer changed to: "dgp"
    3. icomment:
      
      
      allow_comments - 1
      
      
      fixed on all branches
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dgp"