Package: link-grammar
Version: 4.2.2-2
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.

safe_strdup() is used without declaring its prototype.  Patch
attached.

[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 link-grammar_4.2.2-2 (dist=unstable)
From: Debian/IA64 non-US Build Daemon <[EMAIL PROTECTED]>
Date: Tue, 09 May 2006 05:35:44 +0100
To: undisclosed-recipients: ;
X-PMX-Version: 5.1.2.240295, Antispam-Engine: 2.3.0.1, Antispam-Data: 
2006.5.8.211607
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,
        UPPERCASE_25_50 autolearn=no version=3.0.3
Debian-Buildd-Error: Yes

Function `safe_strdup' implicitly converted to pointer at prefix.c:373

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

diff -urN link-grammar-4.2.2.orig/link-grammar/prefix.c 
link-grammar-4.2.2/link-grammar/prefix.c
--- link-grammar-4.2.2.orig/link-grammar/prefix.c       2006-05-08 
22:37:38.000000000 -0600
+++ link-grammar-4.2.2/link-grammar/prefix.c    2006-05-08 22:59:31.000000000 
-0600
@@ -40,6 +40,10 @@
 #include <limits.h>
 #include <string.h>
 #include "prefix.h"
+#include "structures.h"
+#include "link-includes.h"
+#include "api-structures.h"
+#include "utilities.h"
 
 #ifdef __cplusplus
 extern "C" {

-- 
dann frazier | HP Open Source and Linux Organization


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to