Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use-after-free in WebCore::WaveShaperDSPKernel::processCurve()
https://bugs.webkit.org/show_bug.cgi?id=271654 rdar://123631199 Reviewed by Jer Noble. Make sure WaveShaperNode::curveForBindings() clones our internal array before returning it to JS. This is important so that the JS cannot modify our internal array on the main thread while the audio thread is using it for rendering. * Source/WebCore/Modules/webaudio/WaveShaperNode.cpp: (WebCore::WaveShaperNode::curveForBindings): * Source/WebCore/Modules/webaudio/WaveShaperNode.h: Originally-landed-as: 272448.781@safari-7618-branch (bc10314). rdar://128088238 Canonical link: https://commits.webkit.org/278813@main
- Loading branch information