[Pkg-nagios-devel] Bug#396814: nagios-plugins: base_name() return implicitly converted to int

dann frazier dannf at debian.org
Fri Nov 3 05:13:49 CET 2006


Package: nagios-plugins
Version: 1.4.4-1
Severity: important
Tags: patch

Our automated buildd log filter[1] detected a problem that will cause
your package to segfault on architectures where the size of a pointer
is greater than the size of an integer, such as ia64 and amd64.

This is often due to a missing function prototype definition.

[1]http://people.debian.org/~dannf/check-implicit-pointer-functions

----- Forwarded message from Debian/IA64 non-US Build Daemon <buildd at caballero.debian.org> -----

Subject: Log for successful build of nagios-plugins_1.4.4-1 (dist=unstable)
From: Debian/IA64 non-US Build Daemon <buildd at caballero.debian.org>
Date: Thu, 02 Nov 2006 00:28:11 +0000
To: undisclosed-recipients: ;
X-PMX-Version: 5.2.1.279297, Antispam-Engine: 2.4.0.264935, Antispam-Data: 2006.11.1.161432
X-PerlMx-Spam: Gauge=XXXI, Probability=31%, Report='HASHBUSTER_BLOCK_V2 3.4, __CP_URI_IN_BODY 0, __HASHBUSTER_BLOCK_V2_1 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __SANE_MSGID 0'
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ldl.fc.hp.com
X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on ldl.lart
X-Spam-Level: 
X-Spam-Status: No, score=0.5 required=3.5 tests=AWL,BAYES_50,UNDISC_RECIPS 
	autolearn=disabled version=3.0.3
Debian-Buildd-Error: Yes

Function `base_name' implicitly converted to pointer at check_procs.c:196

----- End forwarded message -----

--- nagios-plugins-1.4.4/plugins/check_procs.c~	2006-10-18 18:25:16.000000000 -0600
+++ nagios-plugins-1.4.4/plugins/check_procs.c	2006-11-02 21:11:46.000000000 -0700
@@ -45,6 +45,7 @@
 #include "utils.h"
 
 #include <pwd.h>
+#include <dirname.h>
 
 int process_arguments (int, char **);
 int validate_arguments (void);

-- 
dann frazier | HP Open Source and Linux Organization




More information about the Pkg-nagios-devel mailing list