File net-tools-1.60-snmp-counter-overflow.patch of Package net-tools

diff -u net-tools-1.60/statistics.c~ net-tools-1.60/statistics.c
--- net-tools-1.60/statistics.c~	2001-02-02 19:01:23.000000000 +0100
+++ net-tools-1.60/statistics.c	2006-02-06 11:49:39.000000000 +0100
@@ -291,7 +291,7 @@
 
 void process_fd(FILE *f)
 {
-    char buf1[1024], buf2[1024];
+    char buf1[8192], buf2[8192];
     char *sp, *np, *p;
     while (fgets(buf1, sizeof buf1, f)) {
 	int endflag;

openSUSE Build Service is sponsored by