WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
256164
UBSan: Source/WTF/wtf/text/IntegerToStringConversion.h does not fit in an IntegerType
https://bugs.webkit.org/show_bug.cgi?id=256164
Summary
UBSan: Source/WTF/wtf/text/IntegerToStringConversion.h does not fit in an Int...
Seija K.
Reported
2023-05-01 08:21:04 PDT
Although we check that integer is less than 0 before negating it, the UBSanitizer keeps tripping up at this section. The proper fix would be to use std::make_unsigned_t<IntegerType> here, to convert the variable to its unsigned equivalent.
Attachments
Add attachment
proposed patch, testcase, etc.
Seija K.
Comment 1
2023-05-01 08:23:21 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/13308
Radar WebKit Bug Importer
Comment 2
2023-05-08 08:22:17 PDT
<
rdar://problem/109040652
>
EWS
Comment 3
2023-05-09 08:56:25 PDT
Committed
263866@main
(a83ee572364b): <
https://commits.webkit.org/263866@main
> Reviewed commits have been landed. Closing PR #13308 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug