]> git.pld-linux.org Git - packages/iptables.git/blob - iptables-string.patch
- require llh 2.6.7.0-3 (previous versions had broken ip{,6}t API)
[packages/iptables.git] / iptables-string.patch
1 --- userspace/extensions/libipt_string.c~       Mon Feb 26 18:31:21 2001
2 +++ userspace/extensions/libipt_string.c        Mon May 21 18:02:22 2001
3 @@ -44,7 +44,7 @@
4  static void
5  parse_string(const unsigned char *s, struct ipt_string_info *info)
6  {      
7 -        if (strlen(s) <= BM_MAX_LEN) strcpy(info->string, s);
8 +        if (strlen(s) <= BM_MAX_NLEN) strcpy(info->string, s);
9         else exit_error(PARAMETER_PROBLEM, "STRING too long `%s'", s);
10  }
11  
This page took 0.356056 seconds and 3 git commands to generate.