avformat/avidec: Limit formats in gab2 to srt and ass/ssa
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 30 May 2017 19:29:20 +0000 (21:29 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 31 May 2017 00:32:42 +0000 (02:32 +0200)
commita5d849b149ca67ced2d271dc84db0bc95a548abb
treed27aea15fb5f943d9acfe0ca8b4f0c02bb5ce86b
parent78f6ec32a37215f21e1efb299e233f1c0e031a0b
avformat/avidec: Limit formats in gab2 to srt and ass/ssa

This prevents part of one exploit leading to an information leak

Found-by: Emil Lerner and Pavel Cheremushkin
Reported-by: Thierry Foucu <tfoucu@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/avidec.c