Package: predict
Version: 2.2.2-5
Severity: important
Tags: patch

Our automated buildd log filter[1] detected a problem[2] 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.

[1]http://people.debian.org/~dannf/check-implicit-pointer-functions
[2]Function `ptsname' implicitly converted to pointer at fodtrack.c:153

diff -urN predict-2.2.2.orig/utils/fodtrack-0.1/fodtrack.c 
predict-2.2.2/utils/fodtrack-0.1/fodtrack.c
--- predict-2.2.2.orig/utils/fodtrack-0.1/fodtrack.c    2002-11-25 
02:39:08.000000000 -0700
+++ predict-2.2.2/utils/fodtrack-0.1/fodtrack.c 2005-09-02 15:06:22.000000000 
-0600
@@ -3,6 +3,7 @@
  */
 
 #define __USE_GNU
+#define _XOPEN_SOURCE
 
 #include <string.h>
 #include <sys/types.h>




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

Reply via email to