[Webkit-unassigned] [Bug 224840] Crash due to VectorBuffer pre-allocation failure

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 21 14:13:37 PDT 2021


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

--- Comment #12 from Sam Weinig <sam at webkit.org> ---
(In reply to Ryosuke Niwa from comment #6)
> Comment on attachment 426614 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=426614&action=review
> 
> > Source/WebKit/Shared/Cocoa/WebCoreArgumentCodersCocoa.mm:363
> > -    Vector<RefPtr<ApplePayError>> errors(size);
> > +    Vector<RefPtr<ApplePayError>> errors;
> 
> Huh, I guess this fix is correct but we should get rid of this whole
> encode/decode pair and just add ones for ApplePayError instead
> since we already have encoder/decoder for Vector<T>.

Does the generic one work for T == RefPtr<Foo>?

-- 
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/20210421/dbc5df6e/attachment.htm>


More information about the webkit-unassigned mailing list