You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Backport] CVE-2021-30530: Out of bounds memory access in WebAudio
Cherr-pick of patch originally reviewed on
https://chromium-review.googlesource.com/c/chromium/src/+/2875846:
Return false when the size of audio_port_1 and audio_port_2 is different
The current code assumes the size of audio ports is identical because
the number of inputs and outputs cannot change after construction. This
assumption is broken when multiple AudioWorkletNodes share a singleton
AudioWorkletProcessor instance.
This patch removes the assumption and explicitly returns false when the
number of inputs and outputs does not match.
Bug: 1201033, 120260
Test: 3 repro cases submitted do not crash on ASAN.
Change-Id: I4065e7970b9b7b54468fc82558509a3238ff28e4
Commit-Queue: Hongchan Choi <[email protected]>
Reviewed-by: Raymond Toy <[email protected]>
Cr-Commit-Position: refs/heads/master@{#879631}
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
0 commit comments