Package: tac-plus Version: 1:4.0.4.alpha-13 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. [1]http://people.debian.org/~dannf/check-implicit-pointer-functions ----- Forwarded message from Debian/IA64 non-US Build Daemon <[EMAIL PROTECTED]> ----- Subject: Log for successful build of tac-plus_1:4.0.4.alpha-13 (dist=unstable) From: Debian/IA64 non-US Build Daemon <[EMAIL PROTECTED]> Date: Wed, 26 Apr 2006 02:41:00 +0100 To: undisclosed-recipients: ; X-PMX-Version: 5.1.2.240295, Antispam-Engine: 2.3.0.1, Antispam-Data: 2006.4.25.182107 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=-1.6 required=3.5 tests=AWL,BAYES_00,UNDISC_RECIPS autolearn=no version=3.0.3 Debian-Buildd-Error: Yes Function `cfg_get_host_prompt' implicitly converted to pointer at authen.c:238 Function `ctime' implicitly converted to pointer at do_acct.c:67 Function `cfg_get_host_key' implicitly converted to pointer at packet.c:483 Function `inet_ntoa' implicitly converted to pointer at tac_plus.c:353 Function `cfg_get_host_enable' implicitly converted to pointer at enable.c:40 Function `cfg_get_timestamp' implicitly converted to pointer at pwlib.c:120 Function `crypt' implicitly converted to pointer at pwlib.c:489 Function `cfg_get_host_prompt' implicitly converted to pointer at default_v0_fn.c:91 ----- End forwarded message ----- diff -urN tac-plus-4.0.4.alpha-orig/authen.c tac-plus-4.0.4.alpha/authen.c --- tac-plus-4.0.4.alpha-orig/authen.c 2006-04-25 22:07:29.000000000 -0600 +++ tac-plus-4.0.4.alpha/authen.c 2006-04-26 00:04:31.000000000 -0600 @@ -19,6 +19,7 @@ */ #include "tac_plus.h" +#include "cfg_get.h" static int choose(); static void authenticate(); diff -urN tac-plus-4.0.4.alpha-orig/cfg_get.h tac-plus-4.0.4.alpha/cfg_get.h --- tac-plus-4.0.4.alpha-orig/cfg_get.h 1969-12-31 17:00:00.000000000 -0700 +++ tac-plus-4.0.4.alpha/cfg_get.h 2006-04-26 00:04:31.000000000 -0600 @@ -0,0 +1,16 @@ +/* return time string of user. If none, try groups she is a member + on, and so on, recursively if recurse is non-zero */ +char * +cfg_get_timestamp(char *username, int recurse); + +/* For getting host key */ +char * +cfg_get_host_key(char *host); + +/* For getting host prompt */ +char * +cfg_get_host_prompt(char *host); + +/* For getting host enable */ +char * +cfg_get_host_enable(char *host); diff -urN tac-plus-4.0.4.alpha-orig/default_v0_fn.c tac-plus-4.0.4.alpha/default_v0_fn.c --- tac-plus-4.0.4.alpha-orig/default_v0_fn.c 2006-04-25 22:07:29.000000000 -0600 +++ tac-plus-4.0.4.alpha/default_v0_fn.c 2006-04-26 00:04:31.000000000 -0600 @@ -20,6 +20,7 @@ #include "tac_plus.h" #include "expire.h" +#include "cfg_get.h" /* internal state variables */ #define STATE_AUTHEN_START 0 /* no requests issued */ diff -urN tac-plus-4.0.4.alpha-orig/do_acct.c tac-plus-4.0.4.alpha/do_acct.c --- tac-plus-4.0.4.alpha-orig/do_acct.c 2006-04-25 22:07:29.000000000 -0600 +++ tac-plus-4.0.4.alpha/do_acct.c 2006-04-26 00:04:31.000000000 -0600 @@ -18,6 +18,7 @@ FITNESS FOR A PARTICULAR PURPOSE. */ +#include <time.h> #include "tac_plus.h" static int acctfd = 0; diff -urN tac-plus-4.0.4.alpha-orig/enable.c tac-plus-4.0.4.alpha/enable.c --- tac-plus-4.0.4.alpha-orig/enable.c 2006-04-25 22:07:29.000000000 -0600 +++ tac-plus-4.0.4.alpha/enable.c 2006-04-26 00:04:31.000000000 -0600 @@ -20,6 +20,7 @@ #include "tac_plus.h" #include "expire.h" +#include "cfg_get.h" /* internal state variables */ #define STATE_AUTHEN_START 0 /* no requests issued */ diff -urN tac-plus-4.0.4.alpha-orig/packet.c tac-plus-4.0.4.alpha/packet.c --- tac-plus-4.0.4.alpha-orig/packet.c 2006-04-25 22:07:29.000000000 -0600 +++ tac-plus-4.0.4.alpha/packet.c 2006-04-26 00:04:31.000000000 -0600 @@ -19,6 +19,7 @@ */ #include "tac_plus.h" +#include "cfg_get.h" /* Everything to do with reading and writing packets */ diff -urN tac-plus-4.0.4.alpha-orig/pwlib.c tac-plus-4.0.4.alpha/pwlib.c --- tac-plus-4.0.4.alpha-orig/pwlib.c 2006-04-25 22:07:29.000000000 -0600 +++ tac-plus-4.0.4.alpha/pwlib.c 2006-04-26 00:04:53.000000000 -0600 @@ -18,9 +18,17 @@ FITNESS FOR A PARTICULAR PURPOSE. */ +#define _XOPEN_SOURCE +#include <unistd.h> + +/* _XOPEN_SOURCE apparently disables these definitions, used in tac_plus.h */ +typedef __u_char u_char; +typedef __u_short u_short; + #include "tac_plus.h" #include "expire.h" #include "time_limit.h" +#include "cfg_get.h" #ifdef SHADOW_PASSWORDS #include <shadow.h> diff -urN tac-plus-4.0.4.alpha-orig/tac_plus.c tac-plus-4.0.4.alpha/tac_plus.c --- tac-plus-4.0.4.alpha-orig/tac_plus.c 2006-04-25 22:07:29.000000000 -0600 +++ tac-plus-4.0.4.alpha/tac_plus.c 2006-04-26 00:04:31.000000000 -0600 @@ -24,6 +24,10 @@ * FITNESS FOR A PARTICULAR PURPOSE. */ +#include <sys/socket.h> +#include <netinet/in.h> +#include <arpa/inet.h> + #include "tac_plus.h" #include "sys/wait.h" #include "signal.h" -- dann frazier | HP Open Source and Linux Organization -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]