avformat/aaxdec: Check string before strcmp()
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 23 Oct 2020 16:05:23 +0000 (18:05 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 11 Jan 2021 22:15:04 +0000 (23:15 +0100)
commitfcc263caa9e11a1f94431a6d356a48003c636ef6
tree77a2bb24f59af6ffa27b49666a1010d90b782261
parent7186ec88b98bc589f1403985ab10cc7f77461ec8
avformat/aaxdec: Check string before strcmp()

Fixes: NULL ptr dereference
Fixes: 26508/clusterfuzz-testcase-minimized-ffmpeg_dem_AAX_fuzzer-5694725249826816

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/aaxdec.c