[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#656816: marked as done (opu: package cacti/0.8.7b-2.1+lenny5)



Your message dated Wed, 25 Jan 2012 12:49:25 +0100
with message-id <20120125114925.GA17453@spike.0x539.de>
and subject line Re: Bug#656816: opu: package cacti/0.8.7b-2.1+lenny5
has caused the Debian Bug report #656816,
regarding opu: package cacti/0.8.7b-2.1+lenny5
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
656816: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656816
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: opu

Hi

Version 0.8.7b-2.1+lenny4 interface statistics does not work anymore after the previous security fix. Below oneliner fixes this.

Cheers

Luk
diff -u cacti-0.8.7b/debian/changelog cacti-0.8.7b/debian/changelog
--- cacti-0.8.7b/debian/changelog
+++ cacti-0.8.7b/debian/changelog
@@ -1,3 +1,10 @@
+cacti (0.8.7b-2.1+lenny5) oldstable; urgency=low
+
+  * lib/snmp.php: Add $max_oids parameter to snmp_walk
+    Closes: #656613
+
+ -- Luk Claes <luk@debian.org>  Sat, 21 Jan 2012 23:41:35 +0100
+
 cacti (0.8.7b-2.1+lenny4) lenny-security; urgency=high
 
   [ Paul Gevers ]
diff -u cacti-0.8.7b/debian/patches/CVE-2010-1645.patch cacti-0.8.7b/debian/patches/CVE-2010-1645.patch
--- cacti-0.8.7b/debian/patches/CVE-2010-1645.patch
+++ cacti-0.8.7b/debian/patches/CVE-2010-1645.patch
@@ -149,7 +149,16 @@
 +			exec(escapeshellcmd(read_config_option("path_snmpgetnext")) . " -O fntev $snmp_auth -v $version -t $timeout -r $retries " . escapeshellarg($hostname) . ":$port " . escapeshellarg($oid), $snmp_value);
  		}
  	}
- 
+
+@@ -222,7 +239,7 @@ 
+ 	return $snmp_value;
+ }
+
+-function cacti_snmp_walk($hostname, $community, $oid, $version, $username, $password, $auth_proto, $priv_pass, $priv_proto, $context, $port = 161, $timeout = 500, $retries = 0, $environ = SNMP_POLLER) {
++function cacti_snmp_walk($hostname, $community, $oid, $version, $username, $password, $auth_proto, $priv_pass, $priv_proto, $context, $port = 161, $timeout = 500, $retries = 0, $environ = SNMP_POLLER, $max_oids = 50) {
+ 	global $config;
+
+ 	$snmp_auth	= '';
 @@ -235,6 +252,17 @@
  		if ($retries == "") $retries = 3;
  	}

--- End Message ---
--- Begin Message ---
Hi,

On Sat, Jan 21, 2012 at 11:51:57PM +0100, Luk Claes wrote:
> Version 0.8.7b-2.1+lenny4 interface statistics does not work anymore
> after the previous security fix. Below oneliner fixes this.

sorry but security regressions are best fixed through security.

Thanks
Philipp Kern

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: