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
1e6fa606
Commit
1e6fa606
authored
Feb 25, 2008
by
rswindell
Browse files
Fixed NULL dereference in findstr_in_list() when passed a NULL str_list.
parent
f24929fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/sbbs3/str_util.c
src/sbbs3/str_util.c
+1
-1
No files found.
src/sbbs3/str_util.c
View file @
1e6fa606
...
...
@@ -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
);
...
...
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