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

Added NULL argument checking

parent 4bb4130c
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -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.
Please register or to comment