[vlc-devel] [PATCH] freetype: fix NULL deref

Rémi Denis-Courmont remi at remlab.net
Tue Jul 16 19:08:31 CEST 2013


On Saturday 13 July 2013 17:26:56 Tillmann Karras wrote:
> Should fix #8960.

I am not sure that this is completely correct:

                 if( p_face->family_name != NULL                                
+                 && p_style->psz_fontname != NULL                              
                  && !strcasecmp( p_face->family_name, p_style->psz_fontname )  

Presumably, if both names are NULL, then they compare equal, no?

-- 
Rémi Denis-Courmont
http://www.remlab.net/




More information about the vlc-devel mailing list