]> git.sesse.net Git - ffmpeg/commit
avcodec/vorbisdec: fix FASTDIV usage for vr_type == 2
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 6 Sep 2019 10:06:30 +0000 (12:06 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 6 Sep 2019 20:06:12 +0000 (22:06 +0200)
commit722fd4696583cc984700eaec4745922ae177b2da
tree1eddf38de9cb76e8c606f25e388c4ebd264ff2b8
parentaef24efb0c1e65097ab77a4bf9264189bdf3ace3
avcodec/vorbisdec: fix FASTDIV usage for vr_type == 2

This reverts a hunk from f1ca40ee00402102046fc7e59606651930436b0e

Fixes: out of array read
Fixes: 16924/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VORBIS_fuzzer-5157893162139648
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/vorbisdec.c