From: Dr. Stephen Henson Date: Mon, 8 Dec 2008 19:13:57 +0000 (+0000) Subject: Fix from HEAD. X-Git-Tag: OpenSSL_0_9_8j~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe43caa4a4b403fb7a063fb0d5c4f8d31f3c19b0;p=openssl Fix from HEAD. --- diff --git a/crypto/x509v3/v3_utl.c b/crypto/x509v3/v3_utl.c index 941688826b..a4236bbb6d 100644 --- a/crypto/x509v3/v3_utl.c +++ b/crypto/x509v3/v3_utl.c @@ -736,7 +736,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);