projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bf7c77
)
Free a BIO_ADDR if DTLSv1_listen return <=0
author
Matt Caswell
<matt@openssl.org>
Tue, 26 Apr 2016 17:33:03 +0000
(18:33 +0100)
committer
Matt Caswell
<matt@openssl.org>
Wed, 1 Jun 2016 13:51:36 +0000
(14:51 +0100)
Reviewed-by: Richard Levitte <levitte@openssl.org>
apps/s_server.c
patch
|
blob
|
history
diff --git
a/apps/s_server.c
b/apps/s_server.c
index c998fcdebcc17d48ab4f35986660aea997a7ca7f..dce02f036c80391ad099800476c815fc61a33ab7 100644
(file)
--- a/
apps/s_server.c
+++ b/
apps/s_server.c
@@
-2481,6
+2481,8
@@
static int init_ssl_connection(SSL *con)
BIO_ADDR_free(client);
dtlslisten = 0;
i = SSL_accept(con);
+ } else {
+ BIO_ADDR_free(client);
}
} else
#endif