Overview
| Comment: | Fix [2788582fff] and [ce4483c2cb]: [binary format] with huge counts or offsets panicked or returned a wrong result, because the first pass added the field sizes without checking for overflow. Report "max size for a Tcl value exceeded" instead. |
|---|---|
| Timelines: | family | ancestors | descendants | both | binary-format-size-overflow |
| Files: | files | file ages | folders |
| SHA3-256: |
dd5cd86e81a1ebb12ae75580a2e323ee |
| User & Date: | serhiy.storchaka on 2026-10-17 08:43:18.103 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-11-27
| ||
| 13:51 | Fix [2788582]: "binary format" with huge counts or offsets check-in: c603fd6775 user: jan.nijtmans tags: trunk, main | |
|
2026-10-17
| ||
| 08:43 | Fix [2788582fff] and [ce4483c2cb]: [binary format] with huge counts or offsets panicked or returned ... closed check-in: dd5cd86e81 user: serhiy.storchaka tags: binary-format-size-overflow | |
| 07:20 | Fix [2dff98e079]: format %A garbles negative, padded and infinite values check-in: 9336b96c43 user: serhiy.storchaka tags: trunk, main | |
Changes
Modified generic/tclBinary.c
from [f54e6b4785]
to [13a5998926].
[diff]
Modified tests/binary.test
from [e505913e82]
to [9e7e326102].
[diff]