Check for invalid chunk sizes in WAVEDecoder.
commitb478dcdac0456abef819efc754c0d22c4fffe284
authorrtoy@chromium.org <rtoy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 6 May 2014 04:17:04 +0000 (6 04:17 +0000)
committerrtoy@chromium.org <rtoy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 6 May 2014 04:17:04 +0000 (6 04:17 +0000)
tree31a2e4b589f069d51868c79b5cf0284eff3e8955
parentb64a6c59bee9ccd1ed242be2000f7d5b201135a4
Check for invalid chunk sizes in WAVEDecoder.

When reading a chunk from a WAVE file, make sure the specified chunk
size is sensible. That is, the chunk size isn't greater than the size
of the file.

BUG=369760

Review URL: https://codereview.chromium.org/269113003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268416 0039d316-1c4b-4281-b951-d872f2087c98
content/renderer/media/android/audio_decoder_android.cc