projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
crypto/bio/bss_bio.c/bio_write: improve border check
[openssl.git]
/
crypto
/
bio
/
bss_bio.c
diff --git
a/crypto/bio/bss_bio.c
b/crypto/bio/bss_bio.c
index 7fa8778cae10d476270d6f952118455d438f9859..92dd26230916d42def96bd874c63837cda543215 100644
(file)
--- a/
crypto/bio/bss_bio.c
+++ b/
crypto/bio/bss_bio.c
@@
-273,7
+273,7
@@
static int bio_write(BIO *bio, const char *buf, int num_)
BIO_clear_retry_flags(bio);
- if (!bio->init || buf == NULL || num
=
= 0)
+ if (!bio->init || buf == NULL || num
_ <
= 0)
return 0;
b = bio->ptr;