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:
76e6509
)
Fixed memory leak in the event of a failure of BUF_MEM_grow
author
Matt Caswell
<matt@openssl.org>
Thu, 4 Dec 2014 09:56:16 +0000
(09:56 +0000)
committer
Matt Caswell
<matt@openssl.org>
Mon, 8 Dec 2014 16:43:25 +0000
(16:43 +0000)
Reviewed-by: Richard Levitte <levitte@openssl.org>
ssl/s3_srvr.c
patch
|
blob
|
history
diff --git
a/ssl/s3_srvr.c
b/ssl/s3_srvr.c
index f95f9c77e8c8be364ff925428a034e175598db17..a2eebbb5961cc43c67ba09a9f5ed5cf24dae8f8b 100644
(file)
--- a/
ssl/s3_srvr.c
+++ b/
ssl/s3_srvr.c
@@
-294,6
+294,7
@@
int ssl3_accept(SSL *s)
}
if (!BUF_MEM_grow(buf,SSL3_RT_MAX_PLAIN_LENGTH))
{
+ BUF_MEM_free(buf);
ret= -1;
goto end;
}