Fix use after free:
https://rt.openssl.org/Ticket/Display.html?id=2167&user=guest&pass=guest https://rt.openssl.org/Ticket/Display.html?id=3265&user=guest&pass=guest
This commit is contained in:
parent
b2dc35d4a2
commit
645afb65f7
@ -1057,7 +1057,8 @@ start:
|
||||
s->rstate=SSL_ST_READ_HEADER;
|
||||
rr->off=0;
|
||||
if (s->mode & SSL_MODE_RELEASE_BUFFERS)
|
||||
ssl3_release_read_buffer(s);
|
||||
if (s->s3->rbuf.left == 0) /* no read-ahead left? */
|
||||
ssl3_release_read_buffer(s);
|
||||
}
|
||||
}
|
||||
return(n);
|
||||
|
Loading…
Reference in New Issue
Block a user