Skip to content
Tcl Source Code History Of Ticket ce4483c2cb
Login

History Of Ticket ce4483c2cb

Artifacts Associated With Ticket ce4483c2cb

  1. Ticket change [0a4bc9c264] (rid 199082) by dgp on 2022-03-11 21:13:34:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      The GetFormatSpec() routine used in the implementation of
      [binary format] and [binary scan] is truncating the parsed
      "count" value at INT_MAX (and also using INT_MAX as some kind
      of signal of a parsing error??) even though the argument has
      been expanded to size_t .  Worth examining to see what is the
      best way forward.
      
    5. foundin initialized to: "9"
    6. is_private initialized to: "0"
    7. login: "dgp"
    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: "dgp"
    13. subsystem initialized to: "12. ByteArray Object"
    14. title initialized to: "Audit GetFormatSpec for size_t"
    15. type initialized to: "Bug"
  2. Ticket change [7185c84cc3] (rid 258479) by serhiy.storchaka on 2026-10-17 08:44:34:

    1. foundin changed to: "9.0.5, 9.1.0"
    2. icomment:
      GetFormatSpec no longer truncates at INT_MAX since 9.0 ([06ceffb2f3]), but BinaryFormatCmd still adds the field sizes without checking for overflow: <nowiki>[binary format x4611686018427387904x4611686018427387904]</nowiki> returns an empty string and <nowiki>[binary format x99999999999999999999]</nowiki> panics (same as [2788582fff]).
      Proposed fix in branch [/timeline?r=binary-format-size-overflow|binary-format-size-overflow]: report "max size for a Tcl value exceeded" instead. Tests binary-81.*.
      
    3. login: "serhiy.storchaka"
    4. mimetype: "text/x-fossil-wiki"
  3. Ticket change [13c52a9795] (rid 263397) by jan.nijtmans on 2026-11-27 13:51:04:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2461372.0771311922"
    3. closer changed to: "jan.nijtmans"
    4. icomment: "Dup of [2788582fff]"
    5. login: "jan.nijtmans"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Duplicate"
    8. status changed to: "Closed"