Skip to content
Tcl Source Code History Of Ticket 5ec43cfd9b
Login

History Of Ticket 5ec43cfd9b

Artifacts Associated With Ticket 5ec43cfd9b

  1. Ticket change [8e78a76a35] (rid 204969) by chrstphrchvz on 2022-10-04 06:14:57:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. comment initialized to:
      …which this example script triggers and the attached patch prevents:
      
      <blockquote><pre>
      # s has string representation with length INT_MAX-1
      set s &#91;string repeat &#91;string repeat {a} 14949&#93; 143654&#93;
      set l &#91;list aa $s&#93;
      puts &#91;string is upper $l&#93;
      </pre>
      
      <pre>
      <span style="font-weight:bold">tcl/generic/tclListObj.c:1988:14: <span style="color:firebrick">runtime error:</span> signed integer overflow: 2 + 2147483646 cannot be represented in type 'int'</span>
      max size for a Tcl value (2147483647 bytes) exceeded
      </pre>
      (tclsh aborts)
      </blockquote>
      
    5. foundin initialized to: "core-8-6-branch"
    6. is_private initialized to: "0"
    7. login: "chrstphrchvz"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Minor"
    11. status initialized to: "Open"
    12. submitter initialized to: "chrstphrchvz"
    13. subsystem initialized to: "14. List Object"
    14. title initialized to: "UpdateStringOfList(): signed integer overflow"
    15. type initialized to: "Patch"
  2. Add attachment "5ec43cfd9bf9.diff" [ca2a4530bd] (rid 204971) by chrstphrchvz on 2022-10-04 06:16:37.

  3. Ticket change [109da0cc90] (rid 205042) by jan.nijtmans on 2022-10-06 10:23:53:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2459858.93325995"
    3. closer changed to: "jan.nijtmans"
    4. icomment: "Should be fixed [0e2b23ff845b1e1b|here]"
    5. login: "jan.nijtmans"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"