WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
229121
-[WebView initWithCoder:] should use -[NSCoder decodeValueOfObjCType:at:size:]
https://bugs.webkit.org/show_bug.cgi?id=229121
Summary
-[WebView initWithCoder:] should use -[NSCoder decodeValueOfObjCType:at:size:]
David Kilzer (:ddkilzer)
Reported
2021-08-15 08:38:08 PDT
-[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
Attachments
Patch v1
(1.60 KB, patch)
2021-08-15 08:40 PDT
,
David Kilzer (:ddkilzer)
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-08-15 08:39:28 PDT
<
rdar://problem/81956163
>
David Kilzer (:ddkilzer)
Comment 2
2021-08-15 08:40:41 PDT
Created
attachment 435565
[details]
Patch v1
EWS
Comment 3
2021-08-16 07:45:19 PDT
Committed
r281081
(
240541@main
): <
https://commits.webkit.org/240541@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 435565
[details]
.
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