summaryrefslogtreecommitdiff
path: root/security/ssh/files/patch-bj
diff options
context:
space:
mode:
Diffstat (limited to 'security/ssh/files/patch-bj')
-rw-r--r--security/ssh/files/patch-bj16
1 files changed, 16 insertions, 0 deletions
diff --git a/security/ssh/files/patch-bj b/security/ssh/files/patch-bj
new file mode 100644
index 000000000000..fb897af4865c
--- /dev/null
+++ b/security/ssh/files/patch-bj
@@ -0,0 +1,16 @@
+*** match.c.orig Wed May 12 13:19:27 1999
+--- match.c Mon Jan 10 22:56:13 2000
+***************
+*** 129,134 ****
+--- 129,139 ----
+ is_ip_pattern = 0;
+ break;
+ }
++ for(p = pattern; *p; p++)
++ if (!(isxdigit(*p) || *p == ':' || *p == '?' || *p == '*'))
++ break;
++ if (ip && !*p)
++ is_ip_pattern = 1;
+ if (is_ip_pattern)
+ {
+ return match_pattern(ip, pattern);