summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/MPEG4Extractor.cpp
diff options
context:
space:
mode:
authorJoshua J. Drake <android-open-source@qoop.org>2015-04-08 23:53:10 -0500
committerPaul Kocialkowski <contact@paulk.fr>2015-08-31 00:22:02 +0200
commite3b0877212dacc0b3e65fce1d4ee4352e8ed9fb3 (patch)
tree592bdae7ead47fe6c6b702755b2215e09902dbf7 /media/libstagefright/MPEG4Extractor.cpp
parenta27dee19653466844fd84d88a670daf7d0cc871a (diff)
downloadframeworks_av-e3b0877212dacc0b3e65fce1d4ee4352e8ed9fb3.zip
frameworks_av-e3b0877212dacc0b3e65fce1d4ee4352e8ed9fb3.tar.gz
frameworks_av-e3b0877212dacc0b3e65fce1d4ee4352e8ed9fb3.tar.bz2
Fix integer underflow in ESDS processing
Several arithmetic operations within parseESDescriptor could underflow, leading to an out-of-bounds read operation. Ensure that subtractions from 'size' do not cause it to wrap around. Bug: 20139950 Change-Id: Ie987c58e49323ff273fd57db410534fa83db1cb2 Signed-off-by: Joshua J. Drake <android-open-source@qoop.org> Tested-by: Moritz Bandemer <replicant@posteo.mx>
Diffstat (limited to 'media/libstagefright/MPEG4Extractor.cpp')
0 files changed, 0 insertions, 0 deletions