]> git.pld-linux.org Git - packages/whois.git/blob - whois-overflow.patch
- updated to 4.7.11
[packages/whois.git] / whois-overflow.patch
1 --- ./whois.c.org       Sun Jun 15 18:36:52 2003
2 +++ ./whois.c   Thu Sep  4 16:06:57 2003
3 @@ -78,7 +78,7 @@
4         }
5         if (strchr(ripeflagsp, ch)) {
6             for (p = fstring; *p; p++);
7 -           sprintf(p--, "-%c %s ", ch, optarg);
8 +           snprintf(p--, sizeof(fstring), "-%c %s ", ch, optarg);
9             if (ch == 't' || ch == 'v' || ch == 'q')
10                 nopar = 1;
11             continue;
This page took 0.026761 seconds and 3 git commands to generate.