Package: centericq
Version: 4.21.0-20
Severity: important
Tags: patch
Usertags: implicit-pointer-conversion

Our automated buildd log filter[1] detected a problem that is likely to
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 Build Daemon <[EMAIL PROTECTED]> -----

X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on ldl.fc.hp.com
X-Spam-Level: 
X-Spam-Status: No, score=-1.3 required=3.5 tests=AWL,BAYES_00,UNDISC_RECIPS 
        autolearn=disabled version=3.1.7-deb
X-Virus-Scanned: Debian amavisd-new at ldl.fc.hp.com
Subject: Log for successful build of centericq_4.21.0-20 (dist=unstable)
Date: Sun,  1 Jul 2007 07:01:31 +0000 (GMT)
From: Build Daemon <[EMAIL PROTECTED]>
To: undisclosed-recipients: ;
X-PMX-Version: 5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 
2007.6.30.234533
Debian-Buildd-Error: Yes

Function `realloc' implicitly converted to pointer at connwrap.c:50

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

The stdlib include is really all that is necessary to fix this bug,
but the unistd.h gets rid of a warning about a missing prototype for
close() as well.

--- centericq-4.21.0/connwrap-0.1/connwrap.c~   2007-07-03 09:25:01.000000000 
-0600
+++ centericq-4.21.0/connwrap-0.1/connwrap.c    2007-07-03 11:11:25.000000000 
-0600
@@ -7,6 +7,8 @@
 #include <arpa/inet.h>
 #include <fcntl.h>
 #include <sys/time.h>
+#include <stdlib.h>
+#include <unistd.h>
 
 #define PROXY_TIMEOUT   10
     // HTTP proxy timeout in seconds (for the CONNECT method)

-- 
dann frazier


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

Reply via email to