| Ticket UUID: | b6afa337376342ff91953f200db89ff4ff4f5fe6 | ||
| Title: | signed integer overflow in TclInitStringRep() macro | ||
| Type: | Patch | Created on: | 2022-02-19 13:49:20 |
| Submitter: | chrstphrchvz | Assigned to: | jan.nijtmans |
| Subsystem: | 10. Objects | Severity: | Minor |
| Priority: | 5 Medium | Last modified: | 2022-03-08 15:18:30 |
| Status: | Closed | Closed by: | jan.nijtmans |
| Resolution: | Fixed | Closed on: | 2022-03-08 15:18:30 |
| Version: | core-8-6-branch | ||
| Description: | ||||
|
Example script and corresponding output with UBSan error (-fsanitize=signed-integer-overflow, excludes any previously reported errors):
Can be prevented with same approach used in [a03e9793d4]; see attached patch. | ||||
| User Comments: | ||||
jan.nijtmans added on 2022-03-08 15:18:30:
Fixed [a314f4ea6233c15d|here]. Thanks! | ||||
Attachments:
- b6afa33737.diff [download] added by chrstphrchvz on 2022-02-19 13:49:38. [details]
