Your message dated Sat, 18 Oct 2014 12:06:30 +0100
with message-id <E1XfRqA-0002RJ-6Z@jacala>
and subject line Closing bugs for updates in 7.7
has caused the Debian Bug report #746927,
regarding pu: net-snmp/5.4.3~dfsg-2.8+deb7u1 (Bug#721224 snmpd: produces error
if the Executables/scripts entries in snmpd.conf is over 50)
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 [email protected]
immediately.)
--
746927: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746927
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Tags: wheezy
User: [email protected]
Usertags: pu
Hi,
I'd like to upload net-snmp/5.4.3~dfsg-2.8+deb7u1 to stable-proposed-updates
to fix Bug#721224, error happens when Executables/scripts entries is over 50
in snmpd.conf.
Diff is below.
diff -Nru net-snmp-5.4.3~dfsg/debian/changelog
net-snmp-5.4.3~dfsg/debian/changelog
--- net-snmp-5.4.3~dfsg/debian/changelog 2014-03-18 05:02:49.000000000
+0900
+++ net-snmp-5.4.3~dfsg/debian/changelog 2014-05-04 09:04:47.000000000
+0900
@@ -1,3 +1,15 @@
+net-snmp (5.4.3~dfsg-2.8+deb7u1) stable-proposed-updates; urgency=medium
+
+ * Team upload.
+ * debian/patches
+ - add bug#721224_entries_over50.patch to fix "snmpd: produces error if the
+ Executables/scripts entries in snmpd.conf is over 50" taken patch from
+ Red Hat Bugzilla.
+ Thanks to "Christian Ruppert" <[email protected]> for the report
+ (Closes: #721224)
+
+ -- Hideki Yamane <[email protected]> Sun, 04 May 2014 08:59:03 +0900
+
net-snmp (5.4.3~dfsg-2.8) stable; urgency=medium
* Non-maintainer upload.
diff -Nru net-snmp-5.4.3~dfsg/debian/patches/bug#721224_entries_over50.patch
net-snmp-5.4.3~dfsg/debian/patches/bug#721224_entries_over50.patch
--- net-snmp-5.4.3~dfsg/debian/patches/bug#721224_entries_over50.patch
1970-01-01 09:00:00.000000000 +0900
+++ net-snmp-5.4.3~dfsg/debian/patches/bug#721224_entries_over50.patch
2014-05-04 09:04:47.000000000 +0900
@@ -0,0 +1,29 @@
+Index: net-snmp/agent/mibgroup/agent/extend.c
+===================================================================
+--- net-snmp.orig/agent/mibgroup/agent/extend.c 2014-05-04
07:53:51.731755326 +0900
++++ net-snmp/agent/mibgroup/agent/extend.c 2014-05-04 07:54:28.075895631
+0900
+@@ -476,10 +476,21 @@
+
+ } else if (!strcmp( token, "sh" ) ||
+ !strcmp( token, "exec" )) {
+- if ( num_compatability_entries == max_compatability_entries )
++ if ( num_compatability_entries == max_compatability_entries ) {
+ /* XXX - should really use dynamic allocation */
+- config_perror("No further UCD-compatible entries" );
+- else
++ netsnmp_old_extend *new_compatability_entries;
++ new_compatability_entries = realloc(compatability_entries,
++
max_compatability_entries*2*sizeof(netsnmp_old_extend));
++ if (!new_compatability_entries)
++ config_perror("No further UCD-compatible entries" );
++ else {
++ memset(new_compatability_entries+num_compatability_entries, 0,
++ sizeof(netsnmp_old_extend)*max_compatability_entries);
++ max_compatability_entries *= 2;
++ compatability_entries = new_compatability_entries;
++ }
++ }
++ if (num_compatability_entries != max_compatability_entries)
+ compatability_entries[
+ num_compatability_entries++ ].exec_entry = extension;
+ }
diff -Nru net-snmp-5.4.3~dfsg/debian/patches/series
net-snmp-5.4.3~dfsg/debian/patches/series
--- net-snmp-5.4.3~dfsg/debian/patches/series 2014-03-18 05:33:32.000000000
+0900
+++ net-snmp-5.4.3~dfsg/debian/patches/series 2014-05-04 09:04:47.000000000
+0900
@@ -1,3 +1,4 @@
+bug#721224_entries_over50.patch
02_statistics.patch
03_makefiles.patch
05_searchdirs.patch
--- End Message ---
--- Begin Message ---
Version: 7.7
The upload discussed in this bug was included in the 7.7 point release.
Regards,
Adam
--- End Message ---