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

History Of Ticket 2801413fffffffff

Artifacts Associated With Ticket 2801413fffffffff

  1. Ticket change [276b2b4572] (rid 88511) by dgp on 2009-06-04 22:06:02:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      % set x [expr {1<<(2**29)}]; concat
      % set x [expr {$x<<(2**29)}]; concat
      % set x [expr {$x<<(2**29)}]; concat
      % set x [expr {$x<<(2**29)}]; concat
      % incr x -1; concat
      % set s [format %#llx $x]; concat
      Tcl_SetObjLength: negative length requested: -536870912 (integer overflow?)
      
      Computing the value of numDigits overflows
      the int range.
      
      
    4. foundin initialized to: "obsolete: 8.5.7"
    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: "10. Objects"
    11. title initialized to: "[format %llx] overflow"
    12. type initialized to: "Bug"
  2. Ticket change [024b60baf8] (rid 119618) by dgp on 2009-06-06 05:04:14:

    1. icomment:
      
      After applying attached patch:
      
      % set max [expr {(1<<(2**31-3)<<(2**31-3)<<(2**31-3)<<(2**31-3))-1}]; concat
      % set s [format %#llx $max]; concat
      % string length $s
      2147483647
      % incr max; concat
      % set s [format %#llx $max]; concat
      max size for a Tcl value (2147483647 bytes) exceeded
      
      This demos ability of [format] to create a numeric
      string up to Tcl's limits.
      
      A panic when those limits are exceeded is a bit
      jarring, but that's a separate bug/misfeature.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [f99a08cfea] (rid 91734) by dgp on 2009-06-06 05:04:52:

    1. icomment:
      
      
      File Added - 329932: 2801413.patch
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [94a40b7dc8] (rid 106029) by dgp on 2009-06-11 04:21:37:

    1. icomment:
      
      
      File Deleted - 329932: 
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [672424a5b9] (rid 102852) by dgp on 2009-06-11 04:22:37:

    1. icomment:
      
      
      File Added - 330526: 2801413.patch
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Add attachment "2801413.patch" [cedb49deff] (rid 112854) by dgp on 2009-06-11 04:22:37.

  7. Ticket change [65348684b8] (rid 92910) by dgp on 2009-06-11 04:23:23:

    1. icomment:
      
      Updated patch also converts all
      [format] panics due to string length
      overflow into simple Tcl errors.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Ticket change [ef003855cd] (rid 108918) by dgp on 2009-06-11 04:40:21:

    1. closedate changed to: "2009-06-10T21:40:21"
    2. closer changed to: "dgp"
    3. icomment:
      
      
      allow_comments - 1
      
      patch committed for 8.5.8 and 8.6b2.
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dgp"