[Pkg-nagios-changes] [pkg-nagios] r1573 - in nagios-nrpe/trunk/debian: . patches

Luk Claes luk at alioth.debian.org
Sun Sep 14 14:25:51 UTC 2008


tags 498749 pending
thanks

Author: luk
Date: 2008-09-14 14:25:51 +0000 (Sun, 14 Sep 2008)
New Revision: 1573

Added:
   nagios-nrpe/trunk/debian/patches/04_weird_output.dpatch
Modified:
   nagios-nrpe/trunk/debian/changelog
   nagios-nrpe/trunk/debian/control
   nagios-nrpe/trunk/debian/patches/00list
Log:
* Clean buffer before use (Closes: #498749).
* Add myself to uploaders.

Modified: nagios-nrpe/trunk/debian/changelog
===================================================================
--- nagios-nrpe/trunk/debian/changelog	2008-09-14 07:00:52 UTC (rev 1572)
+++ nagios-nrpe/trunk/debian/changelog	2008-09-14 14:25:51 UTC (rev 1573)
@@ -1,3 +1,10 @@
+nagios-nrpe (2.12-2) unstable; urgency=low
+
+  * Clean buffer before use (Closes: #498749).
+  * Add myself to uploaders.
+
+ -- Luk Claes <luk at debian.org>  Sun, 14 Sep 2008 16:04:17 +0200
+
 nagios-nrpe (2.12-1) unstable; urgency=low
 
   * Support an nrpe.d config directory in addition to nrpe_local.cfg 

Modified: nagios-nrpe/trunk/debian/control
===================================================================
--- nagios-nrpe/trunk/debian/control	2008-09-14 07:00:52 UTC (rev 1572)
+++ nagios-nrpe/trunk/debian/control	2008-09-14 14:25:51 UTC (rev 1573)
@@ -2,7 +2,7 @@
 Section: net
 Priority: optional
 Maintainer: Debian Nagios Maintainer Group <pkg-nagios-devel at lists.alioth.debian.org>
-Uploaders: sean finney <seanius at debian.org>, Jason Thomas <jason at debian.org>, Alexander Wirt <formorer at debian.org>
+Uploaders: sean finney <seanius at debian.org>, Jason Thomas <jason at debian.org>, Alexander Wirt <formorer at debian.org>, Luk Claes <luk at debian.org>
 Build-Depends: debhelper (>= 4.0.0), openssl, dpatch, libssl-dev
 Standards-Version: 3.8.0
 

Modified: nagios-nrpe/trunk/debian/patches/00list
===================================================================
--- nagios-nrpe/trunk/debian/patches/00list	2008-09-14 07:00:52 UTC (rev 1572)
+++ nagios-nrpe/trunk/debian/patches/00list	2008-09-14 14:25:51 UTC (rev 1573)
@@ -1,3 +1,4 @@
 01_nodevrandom-and-docoptions.dpatch
 02_nrpe.cfg_local-include.dpatch
 03_support_nrpe.d.dpatch
+04_weird_output.dpatch

Added: nagios-nrpe/trunk/debian/patches/04_weird_output.dpatch
===================================================================
--- nagios-nrpe/trunk/debian/patches/04_weird_output.dpatch	                        (rev 0)
+++ nagios-nrpe/trunk/debian/patches/04_weird_output.dpatch	2008-09-14 14:25:51 UTC (rev 1573)
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 04_weird_output.dpatch by  <luk at luknote>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Clean buffer before use
+
+ at DPATCH@
+diff -urNad nagios-nrpe-2.12~/src/nrpe.c nagios-nrpe-2.12/src/nrpe.c
+--- nagios-nrpe-2.12~/src/nrpe.c	2008-09-14 16:19:36.000000000 +0200
++++ nagios-nrpe-2.12/src/nrpe.c	2008-09-14 16:21:19.000000000 +0200
+@@ -1165,6 +1165,9 @@
+ 	/* disable connection alarm - a new alarm will be setup during my_system */
+ 	alarm(0);
+ 
++	// null buffer before using it!
++	memset(buffer,0,sizeof(buffer));
++
+ 	/* if this is the version check command, just spew it out */
+ 	if(!strcmp(command_name,NRPE_HELLO_COMMAND)){
+ 




More information about the Pkg-nagios-changes mailing list