Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
169c6dcc
Commit
169c6dcc
authored
Mar 01, 2022
by
Rob Swindell
💬
Browse files
Added NULL argument checking
parent
4bb4130c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/sbbs3/userdat.c
src/sbbs3/userdat.c
+3
-0
No files found.
src/sbbs3/userdat.c
View file @
169c6dcc
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment