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:
9c8dc84
)
Fix use after free.
author
Ben Laurie
<ben@links.org>
Wed, 23 Apr 2014 06:24:03 +0000
(07:24 +0100)
committer
Ben Laurie
<ben@links.org>
Wed, 23 Apr 2014 06:33:17 +0000
(07:33 +0100)
ssl/s3_pkt.c
patch
|
blob
|
history
diff --git
a/ssl/s3_pkt.c
b/ssl/s3_pkt.c
index 96ba63262e44e67dc405935cb0c3c5ed0e1f6d6f..8deeab3c9fbfba52aa338f3130cd82ccdb0eeec5 100644
(file)
--- a/
ssl/s3_pkt.c
+++ b/
ssl/s3_pkt.c
@@
-1055,7
+1055,7
@@
start:
{
s->rstate=SSL_ST_READ_HEADER;
rr->off=0;
- if (s->mode & SSL_MODE_RELEASE_BUFFERS)
+ if (s->mode & SSL_MODE_RELEASE_BUFFERS
&& s->s3->rbuf.left == 0
)
ssl3_release_read_buffer(s);
}
}