Closed Bug 1989302 Opened 8 months ago Closed 7 months ago

[wpt-sync] Sync PR 54921 - [Clipboard] Prevent crash with disengaged unsanitized argument

Categories

(Core :: DOM: Copy & Paste and Drag & Drop, task, P4)

task

Tracking

()

RESOLVED FIXED
145 Branch
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}

Component: web-platform-tests → DOM: Copy & Paste and Drag & Drop
Product: Testing → Core
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 145 Branch
You need to log in before you can comment on or make changes to this bug.