Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment