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:
9809ab9
)
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:44:09 +0000
(16:44 +0000)
Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit
41bf25013032da0eeb111ce3c8fc0946c0e61c41
)
ssl/s3_srvr.c
patch
|
blob
|
history
diff --git
a/ssl/s3_srvr.c
b/ssl/s3_srvr.c
index 3bf6cfec52a8c11357095e1adc73d82802c799b0..a4342ba83f5d4391af81adf06bca1d103f0af27a 100644
(file)
--- a/
ssl/s3_srvr.c
+++ b/
ssl/s3_srvr.c
@@
-286,6
+286,7
@@
int ssl3_accept(SSL *s)
}
if (!BUF_MEM_grow(buf,SSL3_RT_MAX_PLAIN_LENGTH))
{
+ BUF_MEM_free(buf);
ret= -1;
goto end;
}