Summary: | Address undefined behavior found by UBSan in StringToIntegerConversion.h | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||
Component: | Web Template Framework | Assignee: | Chris Dumez <cdumez> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | benjamin, cmarcelo, darin, ews-watchlist, ggaren, sam, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=176131 | ||||||
Attachments: |
|
Description
Chris Dumez
2021-03-24 09:13:17 PDT
Created attachment 424142 [details]
Patch
Comment on attachment 424142 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=424142&action=review r=me > Source/WTF/wtf/text/StringToIntegerConversion.h:54 > + Checked<IntegralType, RecordOverflow> value = 0; No need for = 0 anymore here. Committed r274959 (235712@main): <https://commits.webkit.org/235712@main> |