httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r601810 - /httpd/mod_ftp/trunk/modules/ftp/ftp_util.c
Date Thu, 06 Dec 2007 18:44:02 GMT
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



Mime
View raw message