Package: xmms-coverviewer
Version: 0.11-3
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.

_GNU_SOURCE must be defined when using strndup().

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

--- xmms-coverviewer-0.11.oroig/src/coverview.c 2004-05-22 12:24:20.000000000 
-0600
+++ xmms-coverviewer-0.11/src/coverview.c       2005-09-06 11:32:52.000000000 
-0600
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>

--- Begin Message ---
Function `strndup' implicitly converted to pointer at coverview.c:216

--- End Message ---

Reply via email to