diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2020-07-06 09:32:17 +0200 |
---|---|---|
committer | Guo, Yejun <yejun.guo@intel.com> | 2020-07-06 20:25:50 +0800 |
commit | 1f32d8ea2328843f5741029278fd146aba19e8d0 (patch) | |
tree | a35c5ee6e17089ec3bb9a5611967e37a76e7912b /libavcodec/ccaption_dec.c | |
parent | 7cbb6ee2eec8fcd1e627ea27b0569d6d5bcfe324 (diff) | |
download | ffmpeg-1f32d8ea2328843f5741029278fd146aba19e8d0.tar.gz |
dnn_backend_native: Add overflow check for length calculation.
We should not silently allocate an incorrect sized buffer.
Fixes trac issue #8718.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Reviewed-by: Guo, Yejun <yejun.guo@intel.com>
Diffstat (limited to 'libavcodec/ccaption_dec.c')
0 files changed, 0 insertions, 0 deletions