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

Bug#291438: marked as forwarded (tetex-bin: dvipdfm segfaults when used with hyperref and hypertex)



Your message dated Sun, 23 Jan 2005 22:25:46 +0100
with message-id <87pszv3kit.fsf@alhambra.kuesterei.ch>
has caused the Debian Bug report #291438,
regarding tetex-bin: dvipdfm segfaults when used with hyperref and hypertex
to be marked as having been forwarded to the upstream software
author(s) mwicks@kettering.edu.

(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 291438-forwarded) by bugs.debian.org; 23 Jan 2005 21:38:20 +0000
>From frank@kuesterei.ch Sun Jan 23 13:38:20 2005
Return-path: <frank@kuesterei.ch>
Received: from moutng.kundenserver.de [212.227.126.177] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CspR5-0005ra-00; Sun, 23 Jan 2005 13:38:20 -0800
Received: from [212.227.126.205] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 1CspQz-0005fJ-00; Sun, 23 Jan 2005 22:38:13 +0100
Received: from [84.72.92.29] (helo=alhambra.kuesterei.ch)
	by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1)
	id 1CspQz-00023k-00; Sun, 23 Jan 2005 22:38:13 +0100
Received: from localhost ([127.0.0.1] helo=alhambra.kuesterei.ch)
	by alhambra.kuesterei.ch with esmtp (Exim 3.35 #1 (Debian))
	id 1CspFH-0003Ik-00; Sun, 23 Jan 2005 22:26:07 +0100
To: mwicks@kettering.edu
Cc: 291438-forwarded@bugs.debian.org,  uwe@steinmann.cx (Uwe Steinmann),
 Prabhu Ramachandran <prabhu_r@users.sf.net>
Subject: Re: Bug#291438: tetex-bin: dvipdfm segfaults when used with
 hyperref and hypertex
X-Attribution: fant
X-Ehrenamt: http://www.langau.de
In-Reply-To: <[🔎] 16882.12089.453090.313590@monster.linux.in> (Prabhu
 Ramachandran's message of "Sat, 22 Jan 2005 16:17:21 +0530")
References: <[🔎] E1CrhoU-0000yu-00@monster.linux.in>
	<[🔎] 877jm6j1zk.fsf@alhambra.bioz.unibas.ch>
	<[🔎] 20050121144949.GK7360@mail.steinmann.cx>
	<[🔎] 87is5qhgjm.fsf@alhambra.bioz.unibas.ch>
	<[🔎] 16882.12089.453090.313590@monster.linux.in>
From: =?iso-8859-1?q?Frank_K=FCster?= <frank@debian.org>
Date: Sun, 23 Jan 2005 22:25:46 +0100
Message-ID: <87pszv3kit.fsf@alhambra.kuesterei.ch>
User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha1; protocol="application/pgp-signature"
X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:3fc7da83a58b7314ee3070631872032d
Delivered-To: 291438-forwarded@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

--=-=-=
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Dear Mark,

Prabhu Rmachandran, a user of the Debian teTeX package that contains
dvipdfm has reported a segfault in dvipdfm, and also found a fix that
corrects the problem.

The strange thing is that other people were not able to reproduce the
segfault with the same minimal LaTeX or dvi file as Prabhu did. We would
be glad if you could look into this.

Regards, Frank


Prabhu Ramachandran <prabhu_r@users.sf.net> wrote:

>
> OK, I've found the bug.  Basically, the asn_date function in
> texk/dvipdfm/pdfdoc.c was writing to a string but did not allocate
> enough memory for the string before writing to it.  Attached is a
> trivial patch for the file texk/dvipdfm/pdfdoc.c.
>
> With this patch dvipdfm works fine for me and does not segfault
> anymore.
>
> HTH.
> prabhu
>
> --- pdfdoc.c.orig	2005-01-22 16:12:30.000000000 +0530
> +++ pdfdoc.c	2005-01-22 16:12:38.000000000 +0530
> @@ -239,7 +239,7 @@
>       #define timezone 0l
>  #endif /* TM_GM_TOFF */
>  #endif /* HAVE_TIMEZONE */
> -  static char date_string[24];
> +  static char date_string[32];
>    time_t current_time;
>    struct tm *bd_time;
>    if (debug) {

=2D-=20
Frank K=FCster
Inst. f. Biochemie der Univ. Z=FCrich
Debian Developer

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBB9BZu+xs9YyJS+hoRAipSAJ9/Sdw0s/V8e9BJs0cWm8BjEhr65gCdGUvW
cxH9ljv/PBqQg0kwEgvNUvQ=
=jfWy
-----END PGP SIGNATURE-----
--=-=-=--



Reply to: