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

Bug#126617: marked as done (tetex-bin: Missing internal prototype for gmalloc())



Your message dated Tue, 08 Apr 2003 08:22:48 +0900 (JST)
with message-id <20030408.082248.74736263.kohda@pm.tokushima-u.ac.jp>
and subject line fixed already
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 27 Dec 2001 14:39:54 +0000
>From jdaily@progeny.com Thu Dec 27 08:39:54 2001
Return-path: <jdaily@progeny.com>
Received: from zealot.progeny.com (butthead.progeny.com) [216.37.46.162] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 16JbhK-0005yT-00; Thu, 27 Dec 2001 08:39:54 -0600
Received: by butthead.progeny.com (Postfix, from userid 10018)
	id 40DD81D5; Thu, 27 Dec 2001 09:39:53 -0500 (EST)
From: John R.Daily <jdaily@progeny.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: tetex-bin: Missing internal prototype for gmalloc()
X-Reportbug-Version: 1.41.142
X-Mailer: reportbug 1.41.142
Date: Thu, 27 Dec 2001 09:39:53 -0500
Message-Id: <20011227143953.40DD81D5@butthead.progeny.com>
Delivered-To: submit@bugs.debian.org

Package: tetex-bin
Version: 1.0.7+20011202-2
Severity: normal
Tags: patch

On the IA-64 platform, unprototyped functions that return pointers
may cause corrupted pointers and hence segfaults, because the C
compiler assumes that an undeclared function returns an integer,
and on the IA-64, pointers are twice as long as integers and use
the high-order bits that would be truncated.

A few files use the internal function gmalloc(), which is
prototyped in gmem.h. There doesn't seem to be a particularly good
way to include gmem.h from the files in question, so the added lines
in this patch are pretty ugly.

diff -aur tetex-bin.orig/texk/web2c/pdftexdir/pdfcrypt-full.c tetex-bin-1.0.7+20011202/texk/web2c/pdftexdir/pdfcrypt-full.c
--- tetex-bin.orig/texk/web2c/pdftexdir/pdfcrypt-full.c	Sat Oct 27 11:12:21 2001
+++ tetex-bin-1.0.7+20011202/texk/web2c/pdftexdir/pdfcrypt-full.c	Wed Dec 26 17:02:00 2001
@@ -1,5 +1,6 @@
 #include <time.h>
 #include "ptexlib.h"
+#include "../../../libs/xpdf/goo/gmem.h"  /* gmalloc() */
 
 #undef DebugPW
 #ifdef DebugPW
diff -aur tetex-bin.orig/texk/web2c/pdftexdir/pdfcrypt.c tetex-bin-1.0.7+20011202/texk/web2c/pdftexdir/pdfcrypt.c
--- tetex-bin.orig/texk/web2c/pdftexdir/pdfcrypt.c	Sat Oct 27 11:12:21 2001
+++ tetex-bin-1.0.7+20011202/texk/web2c/pdftexdir/pdfcrypt.c	Wed Dec 26 17:02:00 2001
@@ -1,5 +1,6 @@
 #include <time.h>
 #include "ptexlib.h"
+#include "../../../libs/xpdf/goo/gmem.h"  /* gmalloc() */
 
 #undef DebugPW
 #ifdef DebugPW
diff -aur tetex-bin.orig/texk/web2c/pdftexdir/writefont.c tetex-bin-1.0.7+20011202/texk/web2c/pdftexdir/writefont.c
--- tetex-bin.orig/texk/web2c/pdftexdir/writefont.c	Fri Oct 26 15:58:15 2001
+++ tetex-bin-1.0.7+20011202/texk/web2c/pdftexdir/writefont.c	Wed Dec 26 17:01:39 2001
@@ -1,4 +1,5 @@
 #include "ptexlib.h"
+#include "../../../libs/xpdf/goo/gmem.h"  /* gmalloc() */
 
 key_entry font_keys[FONT_KEYS_NUM] = {
     {"Ascent",       "Ascender",     {0}, false},

-- System Information
Debian Release: 3.0
Architecture: ia64
Kernel: Linux butthead.progeny.com 2.4.9-itanium-smp #1 SMP Mon Sep 17 20:48:35 MDT 2001 ia64
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages tetex-bin depends on:
ii  debianutils             1.15             Miscellaneous utilities specific t
ii  dpkg                    1.9.18           Package maintenance system for Deb
ii  ed                      0.2-19           The classic unix line editor
ii  libc6.1                 2.2.4-7          GNU C Library: Shared libraries an
ii  libkpathsea3            1.0.7+20011202-2 shared libkpathsea for teTeX
ii  libpng2                 1.0.12-3         PNG library - runtime
ii  libstdc++2.10-glibc2.2  1:2.96-6         The GNU stdc++ library version 3
ii  libtiff3g               3.5.5-6          Tag Image File Format library
ii  libxaw7                 4.1.0-11         X Athena widget set library
ii  tetex-base              1.0.2+20011202-1 basic teTeX library files
ii  xlibs                   4.1.0-11         X Window System client libraries
ii  zlib1g                  1:1.1.3-18       compression library - runtime


---------------------------------------
Received: (at 126617-done) by bugs.debian.org; 7 Apr 2003 23:22:56 +0000
>From kohda@pm.tokushima-u.ac.jp Mon Apr 07 18:22:53 2003
Return-path: <kohda@pm.tokushima-u.ac.jp>
Received: from civic.pm.tokushima-u.ac.jp [150.59.48.140] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 192fwz-0006W8-00; Mon, 07 Apr 2003 18:22:53 -0500
Received: from localhost ([127.0.0.1] ident=kohda)
	by civic.pm.tokushima-u.ac.jp with esmtp (Exim 3.36 #1 (Debian))
	id 192fwx-0004Px-00
	for <126617-done@bugs.debian.org>; Tue, 08 Apr 2003 08:22:51 +0900
Date: Tue, 08 Apr 2003 08:22:48 +0900 (JST)
Message-Id: <20030408.082248.74736263.kohda@pm.tokushima-u.ac.jp>
To: 126617-done@bugs.debian.org
Subject: fixed already
From: Atsuhito Kohda <kohda@pm.tokushima-u.ac.jp>
X-Mailer: Mew version 3.2 on Emacs 21.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Delivered-To: 126617-done@bugs.debian.org
X-Spam-Status: No, hits=0.2 required=4.0
	tests=SIGNATURE_SHORT_DENSE,SPAM_PHRASE_01_02
	version=2.44
X-Spam-Level: 

This was fixed already.  The patch could be found in
debian/patches/patch-src.

Thanks,				2003.4.8(Tue)

-- 
 Debian Developer & Debian JP Developer - much more I18N of Debian
 Atsuhito Kohda <kohda@debian.org>
 Department of Math., Univ. of Tokushima



Reply to: