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>
Mon, 5 Jun 2017 21:16:54 +0000 (23:16 +0200)
commitbb7df22328731af64129469e6bcfa1fe6241c6ad
tree954fb333c69b811efd66fc175b1e74622b41b222
parent464288cc5ea891869e9546e1fc3ebeafc9629baa
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>
(cherry picked from commit a5d849b149ca67ced2d271dc84db0bc95a548abb)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/avidec.c