projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1c6f76
)
Coverity 1463258: Incorrect expression (EVALUATION_ORDER)
author
Pauli
<paul.dale@oracle.com>
Thu, 21 May 2020 03:18:42 +0000
(13:18 +1000)
committer
Pauli
<paul.dale@oracle.com>
Fri, 22 May 2020 07:23:49 +0000
(17:23 +1000)
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/11892)
crypto/x509/v3_ncons.c
patch
|
blob
|
history
diff --git
a/crypto/x509/v3_ncons.c
b/crypto/x509/v3_ncons.c
index d7b82b775e91f4a8b134f1f206d970f2a31cd5bd..4543ec2e11000d55df28a0262a89752792eb74bf 100644
(file)
--- a/
crypto/x509/v3_ncons.c
+++ b/
crypto/x509/v3_ncons.c
@@
-197,7
+197,7
@@
static int print_nc_ipadd(BIO *bp, ASN1_OCTET_STRING *ip)
int len2 = ip->length - len1;
char *ip1 = ipaddr_to_asc(ip->data, len1);
char *ip2 = ipaddr_to_asc(ip->data + len1, len2);
- int ret =
ret =
ip1 != NULL && ip2 != NULL
+ int ret = ip1 != NULL && ip2 != NULL
&& BIO_printf(bp, "IP:%s/%s", ip1, ip2) > 0;
OPENSSL_free(ip1);