Skip to content
Tcl Source Code History Of Ticket 2561746fffffffffffffffffffffffffffffffff
Login

History Of Ticket 2561746fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 2561746fffffffffffffffffffffffffffffffff

  1. Ticket change [e089979cac] (rid 115216) by dgp on 2009-02-03 19:18:48:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      % info patch
      8.5.6
      % set a [string repeat a 0x80000000]; concat
      % string length $a
      0
      
      
    4. foundin initialized to: "obsolete: 8.5.6"
    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: "18. Commands M-Z"
    11. title initialized to: "overflow trouble in [string repeat]"
    12. type initialized to: "Bug"
  2. Ticket change [2577494257] (rid 88178) by dgp on 2009-02-04 02:20:41:

    1. icomment:
      
      Related:
      
      % set a [string repeat a 0x7fffffff]; concat
      string size overflow, out of memory allocating -2147483648 bytes
      
      Here it's just the formatting of the
      error message that is the problem.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [1e469ccf3d] (rid 90942) by dgp on 2009-02-04 02:32:12:

    1. icomment:
      
      On another system with more memory:
      
      % set a [string repeat a 0x7fffffff]; concat
      Segmentation fault
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. priority changed to: "9 Immediate"
    5. username: "dgp"
  4. Ticket change [8c42a171fa] (rid 127719) by dgp on 2009-02-04 02:43:45:

    1. icomment:
      
      Fix for 714106 is apparently incomplete.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [dbec088a0f] (rid 108047) by dgp on 2009-02-04 23:20:33:

    1. icomment:
      
      the existing overflow protections are
      only effective for repeated substrings
      of length > 1.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Ticket change [c0b701e7ae] (rid 102463) by dgp on 2009-02-05 01:14:12:

    1. icomment:
      
      Note that the original report here
      is *not a bug* but a bit of compatibility.
      The count values from 0x80000000 to 0xffffffff
      are taken as equivalent to the values
      -0x80000000 to -1 because the value is
      fetched with Tcl_GetIntFromObj().
      
      Then, given a negative count value, 
      [string repeat] returns an empty string
      and no error.
      
      The later comments note the real bug,
      some uncaught overflows leading to
      crashes.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [9aab5ce4bc] (rid 110990) by dgp on 2009-02-05 01:16:09:

    1. icomment:
      
      fix committed to HEAD.
      backports still needed.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Ticket change [8ea635976c] (rid 120149) by dgp on 2009-02-05 02:04:44:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2009-02-04T19:04:44"
    3. closer changed to: "dgp"
    4. icomment:
      
      
      allow_comments - 1
      
      
      Backported for 8.5.7.  Not buggy in 8.4. branch.
      
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. username: "dgp"