You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2007/12/06 19:44:02 UTC
svn commit: r601810 - /httpd/mod_ftp/trunk/modules/ftp/ftp_util.c
Author: wrowe
Date: Thu Dec 6 10:44:01 2007
New Revision: 601810
URL: http://svn.apache.org/viewvc?rev=601810&view=rev
Log:
Correct IPv6 pre-parser, missed the xdigit, and dot-digit IPv6
fragments from form C must finish the sequence.
Modified:
httpd/mod_ftp/trunk/modules/ftp/ftp_util.c
Modified: httpd/mod_ftp/trunk/modules/ftp/ftp_util.c
URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/modules/ftp/ftp_util.c?rev=601810&r1=601809&r2=601810&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/modules/ftp/ftp_util.c (original)
+++ httpd/mod_ftp/trunk/modules/ftp/ftp_util.c Thu Dec 6 10:44:01 2007
@@ -67,7 +67,8 @@
}
#if APR_HAVE_IPV6
else if (*family == APR_INET6) {
- while (isdigit(*arg) || (*arg == ':') || (*arg == '.')) ++arg;
+ while (isxdigit(*arg) || (*arg == ':')) ++arg;
+ while (isdigit(*arg) || (*arg == '.')) ++arg;
}
#endif
else