Commit 1e6fa606 authored by rswindell's avatar rswindell
Browse files

Fixed NULL dereference in findstr_in_list() when passed a NULL str_list.

parent f24929fb
......@@ -124,7 +124,7 @@ BOOL DLLCALL findstr_in_list(const char* insearchof, str_list_t list)
size_t index;
BOOL found;
if(insearchof==NULL)
if(list==NULL || insearchof==NULL)
return(FALSE);
SAFECOPY(search,insearchof);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment