avformat/realtextdec: Check for duplicate extradata in realtext_read_header()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 4 Aug 2019 10:21:51 +0000 (12:21 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 5 Aug 2019 15:54:24 +0000 (17:54 +0200)
commit652ea23cb34bc59b38c0088865600e2b86079815
treeda3e9c7d98d7ee746574046ce295e9f72439f121
parent76133d7c8bfe19833e1973849eabe6a78913e4aa
avformat/realtextdec: Check for duplicate extradata in realtext_read_header()

Fixes: memleak
Fixes: 16140/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5684008052064256

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