diff options
author | Bodo Möller <bodo@openssl.org> | 2000-01-11 11:09:27 +0300 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2000-01-11 11:09:27 +0300 |
commit | 3cc6cdea0f673eadc61b97756a2ff46281749b5e (patch) | |
tree | aca9719ae6ce00702b08006875aea9cd66df73ae | |
parent | c51ae173a653c346fd8138a44b7009e08e192e92 (diff) |
The buffer in ss3_read_n cannot actually occur because it is never
called with max > n when extend is set.
-rw-r--r-- | CHANGES | 4 | ||||
-rw-r--r-- | ssl/s3_pkt.c | 2 |
2 files changed, 2 insertions, 4 deletions
@@ -4,9 +4,7 @@ Changes between 0.9.4 and 0.9.5 [xx XXX 1999] - *) Rewrite ssl3_read_n (ssl/s3_pkt.c) avoiding a couple of bugs, - including a possible buffer overflow when the 'read_ahead' - flag is set. + *) Rewrite ssl3_read_n (ssl/s3_pkt.c) avoiding a couple of bugs. [Bodo Moeller] *) New function X509_CTX_rget_chain(), this returns the chain diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c index 38063b50d5..7728284bef 100644 --- a/ssl/s3_pkt.c +++ b/ssl/s3_pkt.c @@ -293,7 +293,7 @@ again: goto f_err; } - s->rstate=SSL_ST_READ_BODY; + /* now s->rstate == SSL_ST_READ_BODY; */ } /* get and decode the data */ |