Package: rivet
Version: 0.5.0-2
Severity: normal
Tags: patch
I've a filter that parses ia64 buildd logs looking for potential 64-bit
problems.
The following warnings were found in the most recent build of rivet:
Function `tempnam' implicitly converted to pointer at apache_request.c:443
Function `strdup' implicitly converted to pointer at mod_rivet.c:249
These implicit conversions cause pointers to be truncated, and are likely
to cause segfaults.
The following patch fixes these problems.
diff -urN rivet-0.5.0.orig/src/apache_request.c rivet-0.5.0/src/apache_request.c
--- rivet-0.5.0.orig/src/apache_request.c 2004-02-24 03:24:34.000000000
-0700
+++ rivet-0.5.0/src/apache_request.c 2005-05-02 09:50:55.820588937 -0600
@@ -13,6 +13,7 @@
limitations under the License.
*/
+#include <stdio.h>
#include <errno.h>
#include <string.h>
#include "apache_request.h"
diff -urN rivet-0.5.0.orig/src/mod_rivet.c rivet-0.5.0/src/mod_rivet.c
--- rivet-0.5.0.orig/src/mod_rivet.c 2005-03-12 07:26:20.000000000 -0700
+++ rivet-0.5.0/src/mod_rivet.c 2005-05-02 09:51:53.517853855 -0600
@@ -15,6 +15,8 @@
limitations under the License.
*/
+#include <string.h>
+
/* Rivet config */
#ifdef HAVE_CONFIG_H
#include <config.h>
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: ia64
Kernel: Linux 2.6.8-3-mckinley
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages rivet depends on:
ii libc6.1 2.3.2.ds1-21 GNU C Library: Shared libraries an
ii tcl8.4 8.4.9-1 Tcl (the Tool Command Language) v8
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]