commit nagios-plugins for openSUSE:Factory
Hello community, here is the log from the commit of package nagios-plugins for openSUSE:Factory checked in at Tue May 19 01:55:49 CEST 2009. -------- --- nagios-plugins/nagios-plugins.changes 2009-03-04 15:38:21.000000000 +0100 +++ nagios-plugins/nagios-plugins.changes 2009-05-18 10:10:48.000000000 +0200 @@ -1,0 +2,5 @@ +Fri May 15 12:38:22 CEST 2009 - cschneemann@suse.de + +- fixed buffer overflow in check_ntp_peer bnc#498669 + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- check_ntp_peer-buffer-overflow.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nagios-plugins.spec ++++++ --- /var/tmp/diff_new_pack.MJ2339/_old 2009-05-19 01:52:30.000000000 +0200 +++ /var/tmp/diff_new_pack.MJ2339/_new 2009-05-19 01:52:30.000000000 +0200 @@ -21,7 +21,7 @@ Name: nagios-plugins Summary: The Nagios Plug-Ins Version: 1.4.13 -Release: 2 +Release: 3 Url: http://nagiosplug.sourceforge.net/ License: GPL v2 or later Group: System/Monitoring @@ -47,17 +47,14 @@ Source10: nagios-plugins.check_xenvm.sh Source11: nagios-plugins-permissions Source12: nagios-plugins-README.SuSE -#Patch2: nagios-plugins-1.4.5-check_fping.c.patch -#Patch3: nagios-plugins-1.4.5-check_mysql.c.patch -#Patch4: nagios-plugins-1.4.5-check_mysql_query.c.patch Patch6: nagios-plugins-1.4.6-no_chown.patch -#Patch7: nagios-plugins-1.4.6-freeradius.patch Patch8: nagios-plugins.ctypes.patch Patch9: nagios-plugins.check_dhcp-char.patch Patch10: nagios-plugins.asprintf.patch Patch11: nagios-plugins.check_snmp.arrayaddress.patch Patch12: nagios-plugins-postgresql.patch Patch13: nagios-plugins.negate.validate_arguments.patch +Patch14: check_ntp_peer-buffer-overflow.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: perl-Net-SNMP %define libexecdir %_prefix/lib/nagios/plugins @@ -111,6 +108,7 @@ %patch11 %patch12 %patch13 -p1 +%patch14 %build export CFLAGS="%optflags -fno-strict-aliasing -DLDAP_DEPRECATED" @@ -236,6 +234,8 @@ %libexecdir/check_game %changelog +* Fri May 15 2009 cschneemann@suse.de +- fixed buffer overflow in check_ntp_peer bnc#498669 * Wed Mar 04 2009 lrupp@suse.de - added accidentally removed README and example again * Thu Sep 25 2008 cschneemann@suse.de @@ -493,7 +493,7 @@ (Bug #20559) - removed Requires: nagios because it is also possible to use it with nagios-nrpe -* Wed Jul 31 2002 ro@suse.de +* Thu Aug 01 2002 ro@suse.de - use openldap2 as neededforbuild * Tue Jul 09 2002 stark@suse.de - added patch to be able to connect via SNMPv3 (check_snmp) ++++++ check_ntp_peer-buffer-overflow.patch ++++++ --- plugins/check_ntp_peer.c +++ plugins/check_ntp_peer.c @@ -131,7 +131,7 @@ /* NTP control message header is 12 bytes, plus any data in the data * field, plus null padding to the nearest 32-bit boundary per rfc. */ -#define SIZEOF_NTPCM(m) (12+ntohs(m.count)+((m.count)?4-(ntohs(m.count)%4):0)) +#define SIZEOF_NTPCM(m) (12+ntohs(m.count)+((ntohs(m.count)%4)?4-(ntohs(m.count)%4):0)) /* finally, a little helper or two for debugging: */ #define DBG(x) do{if(verbose>1){ x; }}while(0); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de