aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtpdec_formats.h
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-01-05 13:01:53 +0100
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-01-05 22:30:50 +0100
commitda3c3c446cb434be9d0025f519e00c2385135c85 (patch)
treef4e19a0499e85a2ac1046df39b521cd6ef2160f6 /libavformat/rtpdec_formats.h
parentfa74cdc60d19798c951dcc242ca7273e6483f2b3 (diff)
downloadffmpeg-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 'libavformat/rtpdec_formats.h')
0 files changed, 0 insertions, 0 deletions