rpms/net-snmp/devel net-snmp-5.4-exec-crash.patch,NONE,1.1
Jan Šafránek (jsafrane)
fedora-extras-commits at redhat.com
Thu Jun 28 08:56:19 UTC 2007
Author: jsafrane
Update of /cvs/pkgs/rpms/net-snmp/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23970
Added Files:
net-snmp-5.4-exec-crash.patch
Log Message:
fix crash when multiple exec statements have the same name
Resolves: #243536
net-snmp-5.4-exec-crash.patch:
--- NEW FILE net-snmp-5.4-exec-crash.patch ---
--- net-snmp-5.4/agent/mibgroup/agent/extend.c.orig 2006-10-18 21:07:35.000000000 +0200
+++ net-snmp-5.4/agent/mibgroup/agent/extend.c 2007-06-27 14:30:08.000000000 +0200
@@ -448,6 +448,9 @@
extension->command = strdup( exec_command );
if (cptr)
extension->args = strdup( cptr );
+ } else {
+ snmp_log(LOG_ERR, "Duplicate MIBOID '%s' detected in exec statement, only the first one will be used.\n", exec_name);
+ return;
}
#ifndef USING_UCD_SNMP_EXTENSIBLE_MODULE
More information about the scm-commits
mailing list