Commit a2cd6e75 authored by Gaëtan Lehmann's avatar Gaëtan Lehmann

BUG: #3563. Segmentation fault with non initialized input or NULL pointers.

parent afd4e4c5
......@@ -199,6 +199,11 @@ namespace KWSYS_NAMESPACE
bool Directory::Load(const char* name)
if (!name)
return 0;
DIR* dir = opendir(name);
if (!dir)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment