Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 370117495bc44ed93ef10737bc2d1fed5c6e8295492063fe17dd62884a99db62
Ticket: 2788582fffffffffffffffffffffffffffffffff
[binary] ugly formatSpec parsing
User & Date: serhiy.storchaka on 2026-10-17 08:44:34
Changes

  1. foundin changed to: "8.6.18, 9.0.5, 9.1.0"
  2. icomment:
    The <nowiki>[binary scan]</nowiki> part is fixed since 8.6.7 ([56c454c814]). <nowiki>[binary format]</nowiki> still adds the field sizes without checking for overflow: <nowiki>[binary format x99999999999999999999]</nowiki> and <nowiki>[binary format @9223372036854775807]</nowiki> panic in 9.0 and 9.1, and in 8.6 <nowiki>[binary format x2147483647x2147483647]</nowiki> returns an empty string.
    Proposed fix in branch [/timeline?r=binary-format-size-overflow|binary-format-size-overflow], with [ce4483c2cb]: report "max size for a Tcl value exceeded" instead. Tests binary-81.*.
    
  3. login: "serhiy.storchaka"
  4. mimetype: "text/x-fossil-wiki"