summaryrefslogtreecommitdiff
path: root/Bugs.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Bugs.txt')
-rwxr-xr-xBugs.txt24
1 files changed, 11 insertions, 13 deletions
diff --git a/Bugs.txt b/Bugs.txt
index fe61dc97..9d0592c8 100755
--- a/Bugs.txt
+++ b/Bugs.txt
@@ -5,27 +5,25 @@ the ones mentioned below. The remaining issues that are yet to be fixed are list
-----------------
-| libcurl 7.6.7 |
+| libcurl 7.6.9 |
-----------------
__________________________________________________________________________________________________________
/lib/ftp.c
https://github.com/curl/curl/issues/1455
-Add:
- static bool is_routable_ip_v4(unsigned int ip[4])
- {
- if (ip[0] == 127 || //127.0.0.0/8 (localhost)
- ip[0] == 10 || //10.0.0.0/8 (private)
- (ip[0] == 192 && ip[1] == 168) || //192.168.0.0/16 (private)
- (ip[0] == 169 && ip[1] == 254) || //169.254.0.0/16 (link-local)
- (ip[0] == 172 && ip[1] / 16 == 1)) //172.16.0.0/12 (private)
- return false;
- return true;
- }
++ static bool is_routable_ip_v4(unsigned int ip[4])
++ {
++ if (ip[0] == 127 || //127.0.0.0/8 (localhost)
++ ip[0] == 10 || //10.0.0.0/8 (private)
++ (ip[0] == 192 && ip[1] == 168) || //192.168.0.0/16 (private)
++ (ip[0] == 169 && ip[1] == 254) || //169.254.0.0/16 (link-local)
++ (ip[0] == 172 && ip[1] / 16 == 1)) //172.16.0.0/12 (private)
++ return false;
++ return true;
++ }
- if (data->set.ftp_skip_ip)
-
+ bool skipIp = data->set.ftp_skip_ip;
+ if (!skipIp && !is_routable_ip_v4(ip))
+ {
bgstack15