Overview
| Artifact ID: | 07cb8ca210b1c5631e5b1d9162bbf214852c3f73e1f9394fb3ce6767a8ccc4f0 |
|---|---|
| Ticket: | 96e5c814eb9ed95591ce30904943025c35673a96
Signed integer overflow in Clock_str2wideInt() |
| User & Date: | chrstphrchvz on 2025-09-20 18:27:44 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- comment changed to:
UBSan `-fsanitize=signed-integer-overflow` errors as encountered during these tests: * clock-6.9: `generic/tclClockFmt.c:192:21: runtime error: signed integer overflow: -9223372036854775800 - 9 cannot be represented in type 'Tcl_WideInt' (aka 'long long')` * clock-6.10: `generic/tclClockFmt.c:182:21: runtime error: signed integer overflow: 9223372036854775800 + 8 cannot be represented in type 'Tcl_WideInt' (aka 'long long')` * clock-6.10a: `generic/tclClockFmt.c:182:16: runtime error: signed integer overflow: 2767011611056432742 * 10 cannot be represented in type 'Tcl_WideInt' (aka 'long long')` * clock-6.10a-: `generic/tclClockFmt.c:192:16: runtime error: signed integer overflow: -2767011611056432742 * 10 cannot be represented in type 'Tcl_WideInt' (aka 'long long')` But maybe this is won't-fix, given the usage of `# pragma GCC optimize("no-trapv")`. - foundin changed to: "core-9-0-branch"
- is_private changed to: "0"
- login: "chrstphrchvz"
- priority changed to: "5 Medium"
- private_contact changed to: "6133eb3026f9b10aa9b7b48da92ae2834fc225b0"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "chrstphrchvz"
- subsystem changed to: "16. Commands A-H"
- title changed to: "Signed integer overflow in Clock_str2wideInt()"
- type changed to: "Bug"