Fail gracefully if |parameter| object has an invalid array topology
AudioWorkletProcessor::CopyParamValueMapToObject() assumed the array topology is always valid (DCHECK), but if the user code actively mangles the parameter descriptor getter the array to return invalid content this assumption becomes invalid. The fix is to fail gracefully when the object type or the array content is not correct. Bug: 1151069 Test: The repro case does not reproduce any more after 1 hour run. Change-Id: I3f8decd3721e9b00ba201e2f76751e4bc941e05d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2569788Reviewed-by:Raymond Toy <rtoy@chromium.org> Commit-Queue: Hongchan Choi <hongchan@chromium.org> Cr-Commit-Position: refs/heads/master@{#834503}
Showing
Please register or sign in to comment