Fix: Dereference of null pointer in ffiledialog.cpp
This commit is contained in:
parent
62e00b69fc
commit
56fe0720ef
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue