Summary: | WebURLSchemeHandlerProxy::loadSynchronously crash with sync request | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Jin <ljin.zq> | ||||||
Component: | WebKit2 | Assignee: | Brady Eidson <beidson> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | achristensen, beidson, commit-queue, ggaren, webkit-bug-importer, youennf | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | Other | ||||||||
Hardware: | iPhone / iPad | ||||||||
OS: | iOS 12 | ||||||||
Attachments: |
|
Description
Jin
2019-06-20 01:20:57 PDT
Created attachment 372546 [details]
Screen Shot
Created attachment 372582 [details]
Patch
Comment on attachment 372582 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=372582&action=review r=me > Source/WebKit/WebProcess/WebPage/WebURLSchemeHandlerProxy.cpp:67 > + data.shrink(0); Why shrink here? Comment on attachment 372582 [details] Patch Clearing flags on attachment: 372582 Committed r246660: <https://trac.webkit.org/changeset/246660> All reviewed patches have been landed. Closing bug. (In reply to Geoffrey Garen from comment #4) > Comment on attachment 372582 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=372582&action=review > > r=me > > > Source/WebKit/WebProcess/WebPage/WebURLSchemeHandlerProxy.cpp:67 > > + data.shrink(0); > > Why shrink here? Sorry, saw the r=me in the email but missed the question. Agreed it's unnecessary. "Bad™" habit sanitizing out parameters gained for early CS profs. |