]> git.sesse.net Git - ffmpeg/commit
avcodec/ac3_parser: Check init_get_bits8() for failure
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 27 Jun 2018 14:59:13 +0000 (16:59 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 28 Jun 2018 19:35:01 +0000 (21:35 +0200)
commit00e8181bd97c834fe60751b0c511d4bb97875f78
treea31b8cc023319280fbfd0b095f7e4dd026dc92da
parented22dc22216f74c75ee7901f82649e1ff725ba50
avcodec/ac3_parser: Check init_get_bits8() for failure

Fixes: null pointer dereference
Fixes: ffmpeg_crash_6.avi
Found-by: Thuan Pham, Marcel Böhme, Andrew Santosa and Alexandru Razvan Caciulescu with AFLSmart
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/ac3_parser.c