[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#389514: xserver-xorg-input-keyboard: implicit pointer conversion



Package: xserver-xorg-input-keyboard
Version: 1:1.1.0-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.

This is often due to a missing function prototype definition.

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

----- Forwarded message from Buildd user <buildd@nautilus.lowpingbastards.de> -----

Subject: Log for successful build of xserver-xorg-input-keyboard_1:1.1.0-2 (dist=unstable)
From: Buildd user <buildd@nautilus.lowpingbastards.de>
Date: Sat, 23 Sep 2006 00:05:30 +0000
To: undisclosed-recipients: ;
X-PMX-Version: 5.2.1.279297, Antispam-Engine: 2.4.0.264935, Antispam-Data: 2006.9.22.164943
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.3 required=3.5 tests=AWL,BAYES_00,UNDISC_RECIPS 
	autolearn=no version=3.0.3
Debian-Buildd-Error: Yes

Function `strtok' implicitly converted to pointer at ../../src/kbd.c:284

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

--- xserver-xorg-input-keyboard-1.1.0/src/kbd.c~	2006-04-07 11:47:10.000000000 -0600
+++ xserver-xorg-input-keyboard-1.1.0/src/kbd.c	2006-09-25 21:37:58.000000000 -0600
@@ -19,6 +19,7 @@
 #endif
 
 #include <stdio.h>
+#include <string.h>
   
 #define NEED_EVENTS
 #include <X11/X.h>

-- 
dann frazier | HP Open Source and Linux Organization



Reply to: