[email protected]
[Top] [All Lists]

Bug#291438: marked as forwarded (tetex-bin: dvipdfm segfaults when used

Subject: Bug#291438: marked as forwarded tetex-bin: dvipdfm segfaults when used with hyperref and hypertex
From: Debian Bug Tracking System
Date: Sun, 23 Jan 2005 13:48:27 -0800
Your message dated Sun, 23 Jan 2005 22:25:46 +0100
with message-id <[email protected]>
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) [email protected]

(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 [email protected] Sun Jan 23 13:38:20 2005
Return-path: <[email protected]>
Received: from moutng.kundenserver.de [] 
        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 [] (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 [] (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 ([] 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: [email protected]
Cc: [email protected],  [email protected] (Uwe Steinmann),
 Prabhu Ramachandran <[email protected]>
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: <[email protected]> (Prabhu
 Ramachandran's message of "Sat, 22 Jan 2005 16:17:21 +0530")
References: <[email protected]>
        <[email protected]>
        <[email protected]>
        <[email protected]>
        <[email protected]>
From: =?iso-8859-1?q?Frank_K=FCster?= <[email protected]>
Date: Sun, 23 Jan 2005 22:25:46 +0100
Message-ID: <[email protected]>
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 [email protected] 
Delivered-To: [email protected]
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

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 <[email protected]> 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) {

Frank K=FCster
Inst. f. Biochemie der Univ. Z=FCrich
Debian Developer

Content-Type: application/pgp-signature

Version: GnuPG v1.2.4 (GNU/Linux)


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

<Prev in Thread] Current Thread [Next in Thread>
  • Bug#291438: marked as forwarded (tetex-bin: dvipdfm segfaults when used with hyperref and hypertex), Debian Bug Tracking System <=