From 56fe0720ef817221784a1bea82c56d25d62a230a Mon Sep 17 00:00:00 2001 From: Markus Gans Date: Sat, 8 Apr 2017 14:23:52 +0200 Subject: [PATCH] Fix: Dereference of null pointer in ffiledialog.cpp --- src/ffiledialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ffiledialog.cpp b/src/ffiledialog.cpp index 1905bf90..a6fcaf74 100644 --- a/src/ffiledialog.cpp +++ b/src/ffiledialog.cpp @@ -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 ) {