Commit 3cc6cdea authored by Bodo Möller's avatar Bodo Möller
Browse files

The buffer in ss3_read_n cannot actually occur because it is never

called with max > n when extend is set.
parent c51ae173
Loading
Loading
Loading
Loading
+1 −3
Original line number Original line Diff line number Diff line
@@ -4,9 +4,7 @@


 Changes between 0.9.4 and 0.9.5  [xx XXX 1999]
 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,
  *) 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.
     [Bodo Moeller]
     [Bodo Moeller]


  *) New function X509_CTX_rget_chain(), this returns the chain
  *) New function X509_CTX_rget_chain(), this returns the chain
+1 −1
Original line number Original line Diff line number Diff line
@@ -293,7 +293,7 @@ again:
			goto f_err;
			goto f_err;
			}
			}


		s->rstate=SSL_ST_READ_BODY;
		/* now s->rstate == SSL_ST_READ_BODY; */
		}
		}


	/* get and decode the data */
	/* get and decode the data */