ogg: prevent NULL pointer deference in theora gptopts
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 23 Mar 2012 02:43:30 +0000 (03:43 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 24 Sep 2012 20:35:29 +0000 (22:35 +0200)
commitbb146bb57bea6647f9c080aa4f9323a3a789ad22
tree801001f6f0287891ffea4cef39c21e33b25f4f5a
parentd1f05dd18375f2f8e68372edee11436927e43ba8
ogg: prevent NULL pointer deference in theora gptopts

Additional safety in case a special ogg stream is crafted
with the proper number of

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/oggparsetheora.c