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
20bb4a6d
Commit
20bb4a6d
authored
Aug 02, 2019
by
deuce
Browse files
Don't crash of rd is NULL.
parent
d93478b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/sbbs3/websrvr.c
src/sbbs3/websrvr.c
+2
-1
No files found.
src/sbbs3/websrvr.c
View file @
20bb4a6d
...
...
@@ -605,7 +605,8 @@ static BOOL session_check(http_session_t *session, BOOL *rd, BOOL *wr, unsigned
*
wr
=
1
;
if
(
rd
||
wr
==
NULL
)
{
if
(
session
->
tls_pending
)
{
*
rd
=
TRUE
;
if
(
rd
)
*
rd
=
TRUE
;
return
TRUE
;
}
}
...
...
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