aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libopencore-amr.c
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2013-05-07 07:24:16 +0200
committerReinhard Tartler <siretart@tauware.de>2013-05-09 11:20:11 +0200
commit7e6625a9afbe247e5b5da1f1bc4071cb8ae83192 (patch)
tree1c7b14d0c39951523ef607e6ae4c21d589b0ec7d /libavcodec/libopencore-amr.c
parentf13f6f82c63f5b8fc3235c750a69c6ba8ac4cae1 (diff)
downloadffmpeg-7e6625a9afbe247e5b5da1f1bc4071cb8ae83192.tar.gz
xxan: fix invalid memory access in xan_decode_frame_type0()
The loop a few lines below the xan_unpack() call accesses up to dec_size * 2 bytes into y_buffer, so dec_size must be limited to buffer_size / 2. CC:libav-stable@libav.org (cherry picked from commit 8a49d2bcbe7573bb4b765728b2578fac0d19763f) Signed-off-by: Reinhard Tartler <siretart@tauware.de> (cherry picked from commit 62a657de168cf501acb23d48cc1aa00793dc83f3) Signed-off-by: Reinhard Tartler <siretart@tauware.de> Conflicts: libavcodec/xxan.c
Diffstat (limited to 'libavcodec/libopencore-amr.c')
0 files changed, 0 insertions, 0 deletions