Overview
| Artifact ID: | 780f5275adcecb2fac1be8d35b3d6437147fca87900f5b00d800f0007f7886ab |
|---|---|
| Ticket: | 7346adc50fac47b5e7d3c7921d107457883846cc
Crash with encoding convertfrom iso2022-jp <string with escape sequence> |
| User & Date: | anonymous on 2025-05-25 15:52:49 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
I hit an "Illegal instruction" crash while trying to parse old archived usenet posts with the mime library. I can reproduce the issue with a single line: % ::encoding convertfrom iso2022-jp "\x1b\$B\$*;n\$" unable to realloc 82463372083200 bytes Illegal instruction The same code works without crashing in Tcl 8.6.10: % ::encoding convertfrom iso2022-jp "\x1b\$B\$*;n\$" お試 % I have not dug into the C code involved here, but I would suspect that some length calculation has got broken in the 32->64bit transition.
- foundin changed to: "9.0.1"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Severe"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "11. Conversions from String"
- title changed to:
Crash with encoding convertfrom iso2022-jp <string with escape sequence>
- type changed to: "Bug"