[wpt-sync] Sync PR 54921 - [Clipboard] Prevent crash with disengaged unsanitized argument
Categories
(Core :: DOM: Copy & Paste and Drag & Drop, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox145 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 54921 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/54921
Details from upstream follow.
Shweta Bindal <shwetabindal@microsoft.com> wrote:
[Clipboard] Prevent crash with disengaged unsanitized argument
Adding a has_value check on the unsanitized vector to verify whether
it is set to a disengaged state.Bug: 443201222
Change-Id: Ibb5fcc1888ff948327f61cd7d48fe7a9f93e33c7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6928781
Commit-Queue: Shweta Bindal \<shwetabindal@microsoft.com>
Reviewed-by: Dan Clark \<daniec@microsoft.com>
Reviewed-by: Rohan Raja \<roraja@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1517125}
| Assignee | ||
Updated•8 months ago
|
| Assignee | ||
Comment 1•8 months ago
|
||
| Assignee | ||
Comment 2•7 months ago
|
||
Comment 4•7 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/a9475e1e37f2
https://hg.mozilla.org/mozilla-central/rev/6a20ced8bc19
Description
•