Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2022-09-21
07:50 • Closed ticket [1073daf086]: Bug in handling illegal utf-8 sequence plus 5 ot... artifact: 827abf40e5 user: jan.nijtmans
2022-09-13
07:48
Fix [1073daf086]: Bug in handling illegal utf-8 sequence check-in: 87d45dffcc user: jan.nijtmans tags: core-8-6-branch
2022-09-12
14:48 • Pending ticket [1073daf086]: Bug in handling illegal utf-8 sequence plus 4 o... artifact: 97942be43f user: jan.nijtmans
14:28
(adapted) Testcase and fix for [1073daf086]: Bug in handling illegal utf-8 sequence closed check-in: 7c67f503d0 user: jan.nijtmans tags: bug-1073daf086
14:26 • New ticket [1073daf086] Bug in handling illegal utf-8 sequence. artifact: 5f8f47c747 user: jan.nijtmans

Bug in handling illegal utf-8 sequence

Closed / Fixed1073daf086fa8d32be591ad6ec640ef9868df5c0Created 4 years agoUpdated 4 years ago
Descriptionwiki2022-09-12 14:26:46
When feeding the utf-8 decoder with "ABC\xE2", this leads to a crash. Demo: change testcase io-60.1 slightly, writing "ABC" before the (already written) \xE2. This leads to a crash:
---- Result was:
1 {gets ABC gets {} catch {child process exited abnormally}}
Referenced by2
jan.nijtmanswiki2022-09-12 14:48:38

Adapted testcase and proposed fix [here]

jan.nijtmans Closed ticket [1073daf086]. [History diff]2022-09-21 07:50:39
Log in (anonymous is fine) to add a comment.