[Webkit-unassigned] [Bug 256164] New: UBSan: Source/WTF/wtf/text/IntegerToStringConversion.h does not fit in an IntegerType

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 1 08:21:04 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=256164

            Bug ID: 256164
           Summary: UBSan: Source/WTF/wtf/text/IntegerToStringConversion.h
                    does not fit in an IntegerType
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: doremylover123 at gmail.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230501/5a82f3e9/attachment.htm>


More information about the webkit-unassigned mailing list