Added OPENSSL_assert check as per PR#3377 reported by Rainer Jung <rainer.jung@kippdata.de>
This commit is contained in:
parent
a50f71868e
commit
d84ba7ea23
@ -644,6 +644,7 @@ int ssl3_write_bytes(SSL *s, int type, const void *buf_, int len)
|
|||||||
int i;
|
int i;
|
||||||
|
|
||||||
s->rwstate=SSL_NOTHING;
|
s->rwstate=SSL_NOTHING;
|
||||||
|
OPENSSL_assert(s->s3->wnum <= INT_MAX);
|
||||||
tot=s->s3->wnum;
|
tot=s->s3->wnum;
|
||||||
s->s3->wnum=0;
|
s->s3->wnum=0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user