aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/texturedspenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-12-03 03:40:55 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2016-12-04 20:25:15 +0100
commite9003828dd7ea167133266e3c6bd7a8f3ed200fb (patch)
tree0c887c9d0ad82dfdfca3f3eebcd3329c9fec19cb /libavcodec/texturedspenc.c
parent66e8f87ebc7897d0b7a92ff748c53481e990a670 (diff)
downloadffmpeg-e9003828dd7ea167133266e3c6bd7a8f3ed200fb.tar.gz
avformat/oggparsespeex: Check frames_per_packet and packet_size
The speex specification does not seem to restrict these values, thus the limits where choosen so as to avoid multiplicative overflow Fixes undefined behavior Fixes: 635422.ogg Found-by: Matt Wolenetz <wolenetz@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit afcf15b0dbb4b6429be5083e50b296cdca61875e) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/texturedspenc.c')
0 files changed, 0 insertions, 0 deletions