[webkit-reviews] review granted: [Bug 221773] [Cocoa] IPC decoder is using decoded size to allocate memory for an array : [Attachment 420032] Patch
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Feb 11 13:04:06 PST 2021
Geoffrey Garen <ggaren at apple.com> has granted Darin Adler <darin at apple.com>'s
request for review:
Bug 221773: [Cocoa] IPC decoder is using decoded size to allocate memory for an
array
https://bugs.webkit.org/show_bug.cgi?id=221773
Attachment 420032: Patch
https://bugs.webkit.org/attachment.cgi?id=420032&action=review
--- Comment #3 from Geoffrey Garen <ggaren at apple.com> ---
Comment on attachment 420032
--> https://bugs.webkit.org/attachment.cgi?id=420032
Patch
r=me
I wonder if we should honor some safe nominal capacity, like std::min(1024,
size), for performance.
More information about the webkit-reviews
mailing list