aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-06-27 17:50:56 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-23 01:35:09 +0200
commita3d3e0a6bc392025538276614d55a4be2d897d7e (patch)
treef9ab686ef0d7c5afeaf623596dfab2379df9c55b /ffmpeg.c
parentfdf166c5d2bb0e0d1771cfabcdf66f3c3391cac2 (diff)
downloadffmpeg-a3d3e0a6bc392025538276614d55a4be2d897d7e.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> (cherry picked from commit eddf146ada12b394a7796af12bff2121505dc4a1) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'ffmpeg.c')
0 files changed, 0 insertions, 0 deletions