Fix use after free.
This commit is contained in:
parent
4ba5e63bfd
commit
94d1f4b0f3
1 changed files with 1 additions and 1 deletions
|
@ -1334,7 +1334,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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue