<i>Signed integer overflow in Clock_str2wideInt()</i> status still Open with 3 other changes
by
.
D 2026-01-06T03:56:16.129
J icomment I’d\slike\sto\shelp\smake\sthis\sUBSan-clean.\sBased\son\ssebres’\snote,\sit\sseems\sthe\scurrent\slogic\sis\sfine\sbut\sUBSan\sis\sflagging\sintermediate\ssigned\soverflow.\r\n\r\nDo\syou\shave\sa\spreferred\sdirection\sfor\saddressing\sthis\s—\se.g.,\srestructuring\sthe\sarithmetic\sto\savoid\soverflow\sin\ssigned\sspace\s(pre-checks\s/\sbounds\schecks),\sor\sanother\sapproach\syou\sconsider\sidiomatic\shere?\r\n\r\nIf\syou’re\sOK\swith\sit,\sI\scan\sdraft\sa\spatch\sand\svalidate\sit\swith\sUBSan,\sfocusing\son\sthe\sreported\stests\s(clock-6.9/6.10/6.10a).
J login cdubois
J mimetype text/plain
K 96e5c814eb9ed95591ce30904943025c35673a96
U cdubois
Z 241df70663dd641b5e65e4db8b792dc0