Fix: Dereference of null pointer in ffiledialog.cpp

This commit is contained in:
Markus Gans 2017-04-08 14:23:52 +02:00
parent 62e00b69fc
commit 56fe0720ef
1 changed files with 1 additions and 1 deletions

View File

@ -753,7 +753,7 @@ void FFileDialog::cb_processActivate (FWidget*, data_ptr)
while ( iter != end )
{
if ( (*iter).name
if ( (*iter).name && input
&& std::strcmp((*iter).name, input) == 0
&& (*iter).type == DT_DIR )
{