[vlc-devel] [PATCH] Avoid a crash with some corrupted mkvs

Denis Charmet typx at dinauz.org
Fri Dec 23 21:12:59 CET 2011


Le vendredi 23 décembre 2011 à 09:09:31, Jean-Baptiste Kempf a écrit :
> On Fri, Dec 23, 2011 at 09:02:06PM +0100, Denis Charmet wrote :
> > Le vendredi 23 décembre 2011 à 08:45:08, Rémi Denis-Courmont a écrit :
> > >    Hello,
> > > 
> > > On Friday 23 December 2011, Denis Charmet wrote:
> > > This is not very kosher if i_extra_data < sizeof(BITMAPINFOHEADER).
> > 
> > I totally agree but well... a bug was filed... 
> > 
> 
> What I understood from Rémi's mail is that you should test i_extra_data
> < sizeof(BITMAPINFOHEADER) before doing the substraction.
> 
Oh... my bad I didn't understand as the test is done before the patch
(line 917)

-- 
TypX
Le mauvais esprit est un art de vivre



More information about the vlc-devel mailing list