rpms/zabbix/FC-6 zabbix-1.1.4-snmp-poll-overflow.patch, NONE, 1.1 zabbix.spec, 1.1, 1.2
Jarod Wilson (jwilson)
fedora-extras-commits at redhat.com
Wed Dec 13 20:32:56 UTC 2006
Author: jwilson
Update of /cvs/extras/rpms/zabbix/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31856
Modified Files:
zabbix.spec
Added Files:
zabbix-1.1.4-snmp-poll-overflow.patch
Log Message:
Fix snmp polling buffer overflow (from jcollie, #218065)
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/FC-6/zabbix.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- zabbix.spec 16 Nov 2006 18:56:31 -0000 1.1
+++ zabbix.spec 13 Dec 2006 20:32:26 -0000 1.2
@@ -1,6 +1,6 @@
Name: zabbix
Version: 1.1.4
-Release: 2%{?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,12 @@
%{_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
+
* Thu Nov 16 2006 Jarod Wilson <jwilson at redhat.com> 1.1.4-2
- Fix up pt_br
- Add Req-pre on useradd
More information about the fedora-extras-commits
mailing list