projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9788ce
)
ssl_lib: added pointer SSL and SSL_CONNECTION check to NULL before dereferencing...
author
atishkov
<a.tishkov@aladdin.ru>
Tue, 24 Oct 2023 10:25:13 +0000
(13:25 +0300)
committer
Hugo Landau
<hlandau@openssl.org>
Thu, 26 Oct 2023 14:43:08 +0000
(15:43 +0100)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22470)
ssl/ssl_lib.c
patch
|
blob
|
history
diff --git
a/ssl/ssl_lib.c
b/ssl/ssl_lib.c
index e010bb7e30c5eac118ba5d576ddcc926f00382f4..d2394ee0dbe6a666b93c36dcf5c03870d4143419 100644
(file)
--- a/
ssl/ssl_lib.c
+++ b/
ssl/ssl_lib.c
@@
-2928,7
+2928,7
@@
long ossl_ctrl_internal(SSL *s, int cmd, long larg, void *parg, int no_quic)
if (!no_quic && IS_QUIC(s))
return s->method->ssl_ctrl(s, cmd, larg, parg);
- SSL_CONNECTION
*
sc = SSL_CONNECTION_FROM_SSL(s);
+ SSL_CONNECTION
*
sc = SSL_CONNECTION_FROM_SSL(s);
if (sc == NULL)
return 0;