Commit e58a689e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Fix potential Freetype crash

Close #5648
parent 258b93c7
......@@ -625,7 +625,7 @@ static char* Win32_Select( filter_t *p_filter, const char* family,
{
VLC_UNUSED( i_size );
if( strlen( family ) < 1 )
if( !family || strlen( family ) < 1 )
goto fail;
/* */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment