[Webkit-unassigned] [Bug 229121] New: -[WebView initWithCoder:] should use -[NSCoder decodeValueOfObjCType:at:size:]

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 15 08:38:08 PDT 2021


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

            Bug ID: 229121
           Summary: -[WebView initWithCoder:] should use -[NSCoder
                    decodeValueOfObjCType:at:size:]
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ddkilzer at webkit.org

-[WebView initWithCoder:] should use -[NSCoder decodeValueOfObjCType:at:size:].

Found by clang static analyzer:

Deprecated method '-decodeValueOfObjCType:at:' is insecure as it can lead to potential buffer overflows. Use the safer '-decodeValueOfObjCType:at:size:' method

-- 
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/20210815/44619157/attachment-0001.htm>


More information about the webkit-unassigned mailing list