File squid-beta-3.0.PRE6-array_bound.patch of Package squid-beta
--- squid-3.0.PRE6/src/snmp_core.cc.orig 2007-04-30 18:56:09.000000000 +0200
+++ squid-3.0.PRE6/src/snmp_core.cc 2007-07-04 16:22:13.741936668 +0200
@@ -825,7 +825,7 @@
} else {
identifier = name[*len - 1];
- while ((identifier != index[loop]) && (loop < TIME_INDEX_LEN))
+ while ((loop < TIME_INDEX_LEN) && (identifier != index[loop]))
loop++;
if (loop < TIME_INDEX_LEN - 1) {