rpms/zabbix/devel zabbix-1.1.4-snmp-poll-overflow.patch, NONE, 1.1 zabbix.spec, 1.2, 1.3

Jarod Wilson (jwilson) fedora-extras-commits at redhat.com
Wed Dec 13 20:31:09 UTC 2006


Author: jwilson

Update of /cvs/extras/rpms/zabbix/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31778

Modified Files:
	zabbix.spec 
Added Files:
	zabbix-1.1.4-snmp-poll-overflow.patch 
Log Message:
Add changelog entry

zabbix-1.1.4-snmp-poll-overflow.patch:

--- NEW FILE zabbix-1.1.4-snmp-poll-overflow.patch ---
--- zabbix/src/zabbix_server/poller/checks_snmp.c~	2006-11-14 12:11:17.000000000 -0600
+++ zabbix/src/zabbix_server/poller/checks_snmp.c	2006-12-01 10:49:26.000000000 -0600
@@ -405,7 +405,7 @@
 				}
 				else
 				{
-					p = malloc(16);
+					p = malloc(MAX_STRING_LEN);
 					if(p)
 					{
 						ip = vars->val.string;


Index: zabbix.spec
===================================================================
RCS file: /cvs/extras/rpms/zabbix/devel/zabbix.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- zabbix.spec	29 Nov 2006 15:33:54 -0000	1.2
+++ zabbix.spec	13 Dec 2006 20:30:39 -0000	1.3
@@ -1,6 +1,6 @@
 Name:           zabbix
 Version:        1.1.4
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Open-source monitoring solution for your IT infrastructure
 
 Group:          Applications/Internet
@@ -11,6 +11,7 @@
 Source2:        zabbix-server.init
 Source3:        zabbix-agent.init
 Source4:        zabbix-logrotate.in
+Patch0:         zabbix-1.1.4-snmp-poll-overflow.patch
 Buildroot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %define database mysql
@@ -76,6 +77,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .overflow
 
 # fix up some lib64 issues
 %{__perl} -pi.orig -e 's|_LIBDIR=/usr/lib|_LIBDIR=%{_libdir}|g' \
@@ -213,6 +215,9 @@
 %{_datadir}/%{name}
 
 %changelog
+* Wed Dec 13 2006 Jarod Wilson <jwilson at redhat.com> 1.1.4-4
+- Fix snmp polling buffer overflow (#218065)
+
 * Wed Nov 29 2006 Jarod Wilson <jwilson at redhat.com> 1.1.4-3
 - Rebuild for updated libnetsnmp
 




More information about the fedora-extras-commits mailing list