Bug 223696

Summary: Source/WebCore/editing/cocoa/HTMLConverter.mm:1278:44: runtime error: member call on null pointer of type 'WebCore::ArchiveResource'
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebCore Misc.Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, darin, ews-watchlist, ggaren, mifenton, 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 Flags
Patch none

Chris Dumez
Reported 2021-03-24 09:46:44 PDT
Address the following bug found by UBSan: Source/WebCore/editing/cocoa/HTMLConverter.mm:1278:44: runtime error: member call on null pointer of type 'WebCore::ArchiveResource'
Attachments
Patch (2.62 KB, patch)
2021-03-24 09:53 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2021-03-24 09:53:40 PDT
Chris Dumez
Comment 2 2021-03-25 11:30:21 PDT
Patch is ready to review.
Alex Christensen
Comment 3 2021-03-26 13:40:28 PDT
Comment on attachment 424145 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=424145&action=review > Source/WebCore/editing/cocoa/HTMLConverter.mm:-1278 > - const String& mimeType = resource->mimeType(); basically just null checking resource here.
EWS
Comment 4 2021-03-26 13:44:34 PDT
commit-queue failed to commit attachment 424145 [details] to WebKit repository. To retry, please set cq+ flag again.
EWS
Comment 5 2021-03-26 15:41:43 PDT
Committed r275118: <https://commits.webkit.org/r275118> All reviewed patches have been landed. Closing bug and clearing flags on attachment 424145 [details].
Radar WebKit Bug Importer
Comment 6 2021-03-26 15:42:13 PDT
Note You need to log in before you can comment on or make changes to this bug.