diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-01-05 13:01:53 +0100 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-01-05 22:30:50 +0100 |
commit | da3c3c446cb434be9d0025f519e00c2385135c85 (patch) | |
tree | f4e19a0499e85a2ac1046df39b521cd6ef2160f6 /tools/ismindex.c | |
parent | fa74cdc60d19798c951dcc242ca7273e6483f2b3 (diff) | |
download | ffmpeg-da3c3c446cb434be9d0025f519e00c2385135c85.tar.gz |
avpacket: fix size check in packet_alloc
The previous check only caught sizes from -AV_INPUT_BUFFER_PADDING_SIZE
to -1.
This fixes ubsan runtime error: signed integer overflow: 2147483647 + 32
cannot be represented in type 'int'
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'tools/ismindex.c')
0 files changed, 0 insertions, 0 deletions