DescriptionGuard against midstream audio configuration changes.
In WebAudio this can lead to oob reads. In HTML5 this will cause
garbled audio or oob reads depending on the sample format. The
guards in place just ensure channel count nor sample format change
between demux and decode.
Video already has similar guards in place via the checks done in
VideoFrame::IsValidConfig during buffer allocation.
BUG=166565
TEST=unit tests pass under ASAN.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182027
Patch Set 1 #
Total comments: 14
Patch Set 2 : Comments. #
Messages
Total messages: 11 (0 generated)
|