[Pkg-nagios-changes] [pkg-nagios-plugins] 239/413: drop 27_check_radius_segfault.dpatch

Jan Wagner waja at moszumanska.debian.org
Tue Nov 26 23:13:27 UTC 2013


This is an automated email from the git hooks/post-receive script.

waja pushed a commit to branch master
in repository pkg-nagios-plugins.

commit 54d9c0272d7b688e91ea4fcfc40d10ba713e572c
Author: Jan Wagner <waja at cyconet.org>
Date:   Fri Apr 9 19:40:00 2010 +0000

    drop 27_check_radius_segfault.dpatch
---
 debian/changelog                               |  3 +++
 debian/patches/00list                          |  1 -
 debian/patches/27_check_radius_segfault.dpatch | 24 ------------------------
 3 files changed, 3 insertions(+), 25 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3397e9a..eeb49bc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,9 @@ nagios-plugins (1.4.14-5) UNRELEASED; urgency=low
     - 14_check_log_paths.dpatch: paths are fine now
     - 26_implicit-basename.dpatch: no 'implicitly convertion' found in buildlog
       without the patch
+    - 27_check_radius_segfault.dpatch: check_radius.c:161 initializes "data" to
+      0 using memset(3) and problem not longer reproducable on amd64 without
+      the patch
 
  -- Jan Wagner <waja at cyconet.org>  Thu, 08 Apr 2010 23:54:05 +0200
 
diff --git a/debian/patches/00list b/debian/patches/00list
index 9c64214..2620527 100644
--- a/debian/patches/00list
+++ b/debian/patches/00list
@@ -4,7 +4,6 @@
 18_check_game_cmdline.dpatch
 22_check_smb_hostaddress.dpatch
 23_check_smb_password.dpatch
-27_check_radius_segfault.dpatch
 32_check_ldap_pointer.dpatch
 33_fix_emb_check_disk_smb.dpatch
 34_fix_smbclient_check_disk_smb.dpatch
diff --git a/debian/patches/27_check_radius_segfault.dpatch b/debian/patches/27_check_radius_segfault.dpatch
deleted file mode 100644
index 865efbd..0000000
--- a/debian/patches/27_check_radius_segfault.dpatch
+++ /dev/null
@@ -1,24 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 27_check_radius_segfault.dpatch by Yasper Casper <komputnik at gmail.com>
-##
-## DP: Fix for segfaulting check_radius plugin. (bugs.debian.org/399532 and bugs.debian.org/379788)
-
- at DPATCH@
-diff -urNad nagios-plugins-1.4.5~/plugins/check_radius.c nagios-plugins-1.4.5/plugins/check_radius.c
---- nagios-plugins-1.4.5~/plugins/check_radius.c	2006-10-20 01:53:28.000000000 +0200
-+++ nagios-plugins-1.4.5/plugins/check_radius.c	2006-11-20 20:38:49.000000000 +0100
-@@ -137,6 +137,14 @@
- 			rc_read_dictionary (rc_conf_str (str)))
- 		die (STATE_UNKNOWN, _("Config file error"));
- 
-+	/* Initialize Value Pair to prevent segfault on rc_avpair_add. 
-+	 * debugging on radiuslib-ng show that the mem isn't allocated,
-+	 * and some random memory is in the USER-PASSWORD pair.
-+	 * So, after initialization, the password is filled with the correct values 
-+	 */
-+	data.send_pairs = NULL;
-+	data.receive_pairs = NULL;
-+
- 	service = PW_AUTHENTICATE_ONLY;
- 
- 	if (!(rc_avpair_add (&data.send_pairs, PW_SERVICE_TYPE, &service, 0) &&

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nagios-plugins.git



More information about the Pkg-nagios-changes mailing list