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:
1d4e879
)
Oops should check zero_pos >= 0.
author
Dr. Stephen Henson
<steve@openssl.org>
Mon, 8 Dec 2008 19:13:06 +0000
(19:13 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Mon, 8 Dec 2008 19:13:06 +0000
(19:13 +0000)
crypto/x509v3/v3_utl.c
patch
|
blob
|
history
diff --git
a/crypto/x509v3/v3_utl.c
b/crypto/x509v3/v3_utl.c
index 1a866aaa83b24f9b9cb4dc0c630fa62a35e63de9..706a2b4b42c048a805d25f29f7a924f2df8c3f55 100644
(file)
--- a/
crypto/x509v3/v3_utl.c
+++ b/
crypto/x509v3/v3_utl.c
@@
-739,7
+739,7
@@
static int ipv6_from_asc(unsigned char *v6, const char *in)
/* Format result */
- if (v6stat.zero_pos > 0)
+ if (v6stat.zero_pos >
=
0)
{
/* Copy initial part */
memcpy(v6, v6stat.tmp, v6stat.zero_pos);