WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
233922
[meta] Ensure that no SharedBuffer is modified once returned
https://bugs.webkit.org/show_bug.cgi?id=233922
Summary
[meta] Ensure that no SharedBuffer is modified once returned
Jean-Yves Avenard [:jya]
Reported
2021-12-07 04:01:06 PST
Follow-up on
bug 233442
. With the SharedBufferBuilder, some code still return a Ref to a SharedBuffer which can then be modified. Such as PreviewConverter::updateMainResource and the LegacyPreviewLoader which will clear the SharedBuffer after being returned (so any references to that SharedBuffer become useless) We should eliminate this code pattern and have SharedBufferBuilder::get() always return a new SharedBuffer such as a SharedBuffer is really immutable once created.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-12-14 04:02:16 PST
<
rdar://problem/86462307
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug