Fix: Dereference of null pointer in ffiledialog.cpp

This commit is contained in:
Markus Gans 2017-04-08 14:25:55 +02:00
parent 56fe0720ef
commit 68c4b8385a
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 ) while ( iter != end )
{ {
if ( (*iter).name && input if ( (*iter).name && ! input.isNull()
&& std::strcmp((*iter).name, input) == 0 && std::strcmp((*iter).name, input) == 0
&& (*iter).type == DT_DIR ) && (*iter).type == DT_DIR )
{ {