aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.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-05 18:29:12 +0100
commitc2e4ced78e61679a74683f1c5f3b7e1d4b27102a (patch)
tree79c45e2b164c144f4ee5632527859cb4c84a6f42 /libavformat/utils.c
parentcc27b8e09face7bbc14aa6865d24261f56712f57 (diff)
downloadffmpeg-c2e4ced78e61679a74683f1c5f3b7e1d4b27102a.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 'libavformat/utils.c')
0 files changed, 0 insertions, 0 deletions