aboutsummaryrefslogtreecommitdiffstats
path: root/cmdutils_opencl.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>2015-05-05 22:10:44 +0200
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-05-14 19:10:16 +0200
commitc6418be04314b3bf9bfda8d36d639907f8c7a2ad (patch)
treef3c262c084c85cc69dc93ad63356604caf9920ed /cmdutils_opencl.c
parentf78d7e6a03147f918033146afbf17e96d66d1cce (diff)
downloadffmpeg-c6418be04314b3bf9bfda8d36d639907f8c7a2ad.tar.gz
diracdec: avoid overflow of bytes*8 in decode_lowdelay
If bytes is large enough, bytes*8 can overflow and become negative. In that case 'bufsize -= bytes*8' causes bufsize to increase instead of decrease. This leads to a segmentation fault. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 9e66b39aa87eb653a6e5d15f70b792ccbf719de7) Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'cmdutils_opencl.c')
0 files changed, 0 insertions, 0 deletions