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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 20 18:02:23 PDT 2021


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

Ryosuke Niwa <rniwa at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rniwa at webkit.org

--- Comment #6 from Ryosuke Niwa <rniwa at webkit.org> ---
Comment on attachment 426614
  --> https://bugs.webkit.org/attachment.cgi?id=426614
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>.

-- 
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/010f91fc/attachment.htm>


More information about the webkit-unassigned mailing list