Skip to content
Snippets Groups Projects
Commit f9e8f335 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Added NULL argument checking

parent 78e82ad4
No related branches found
No related tags found
No related merge requests found
......@@ -3276,6 +3276,9 @@ BOOL check_name(scfg_t* cfg, const char* name)
char tmp[512];
size_t len;
if(name == NULL)
return FALSE;
len=strlen(name);
if(len<1)
return FALSE;
......
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