diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-05 01:54:18 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-05 01:54:18 +0000 |
commit | dce695257c2e9d7528c5e9583377d37c72e27006 (patch) | |
tree | c871628498ee35dc45c1460e85fcbb458efc5c18 /ppapi/shared_impl/ppb_input_event_shared.h | |
parent | 6c1f528080456b1f0cc9dcb25fe2c85decc715e8 (diff) | |
download | chromium_src-dce695257c2e9d7528c5e9583377d37c72e27006.zip chromium_src-dce695257c2e9d7528c5e9583377d37c72e27006.tar.gz chromium_src-dce695257c2e9d7528c5e9583377d37c72e27006.tar.bz2 |
alsa_output: Bounds check snd_pcm_avail_update (attempt #2).
Buggy ALSA drivers can at times return very large values from snd_pcm_avail_update. There should never be more available frames than total frames in the buffer.
Patch by dgreid@chromium.org:
http://codereview.chromium.org/9963043/
BUG=chromium-os:26151
TEST=Manual, run a flash player looping alongside an aplay stress test and check that the flash video continues to output audio.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130812 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/shared_impl/ppb_input_event_shared.h')
0 files changed, 0 insertions, 0 deletions