aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/msgsmdec.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-06-27 17:50:56 +0200
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-11-26 01:37:56 +0100
commit85ef06c666d1b114c2a5370b21dfe43f365d57fa (patch)
treea952d13ffe467f5c7591d0e99660e63790d04278 /libavcodec/msgsmdec.c
parentd4aeaa21732898b0a09943ff2d885e04254e3a68 (diff)
downloadffmpeg-85ef06c666d1b114c2a5370b21dfe43f365d57fa.tar.gz
nutdec: check maxpos in read_sm_data before returning success
Otherwise sm_size can be larger than size, which results in a negative packet size. Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> (cherry picked from commit 6b9fdf7f4f07926557048070cc2af3cfd0e3fe50) Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavcodec/msgsmdec.c')
0 files changed, 0 insertions, 0 deletions