<<< Date Index >>>     <<< Thread Index >>>

Re: mutt/1536: Segment fault with long lines when LANG=*.UTF-8



The following reply was made to PR mutt/1536; it has been noted by GNATS.

From: Anders Helmersson <anders.helmersson.utsikt@xxxxxxxxxxxx>
To: Mutt Developers <mutt-dev@xxxxxxxx>
Cc: bug-any@xxxxxxxxxxxxx
Subject: Re: mutt/1536: Segment fault with long lines when LANG=*.UTF-8
Date: Sun, 7 Aug 2005 07:08:52 +0200

 --J2SCkAp4GZ/dPZZf
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 On Sat, 2005-08-06 at 11:20:48 -0700, Brendan Cully wrote:
 > Does this work? I've never been able to reproduce the segfault, so I
 > don't know whether or not I've introduced an off-by-one error or
 > something.
 
 > Index: pager.c
 > ===================================================================
 > RCS file: /home/roessler/cvs/mutt/pager.c,v
 > retrieving revision 3.21
 > diff -u -p -r3.21 pager.c
 
 
 Yes, it seems to work. It does not segfault for my examples (one of
 which is attached as an mbox file).
 
 
 Anders
 
 --J2SCkAp4GZ/dPZZf
 Content-Type: text/plain; charset=utf-8
 Content-Disposition: attachment; filename=segfault
 Content-Transfer-Encoding: quoted-printable
 
 From xxxxxxxxx@xxxxxxxx Fri Jan 10 03:28:38 2003
 Return-Path: <xxxxxxxxx@xxxxxxxx>
 Received: from maila.telia.com (maila.telia.com [194.22.194.231])
        by d1o40.telia.com (8.10.2/8.10.1) with ESMTP id h0A2SbM18450
        for <u13101907@xxxxxxxxxxxxxxx>; Fri, 10 Jan 2003 03:28:38 +0100 (CET)
 Received: from xxxx.xxx (xxxxxx-xxx.xxxx.xxx.xx [xxx.xxx.xx.xxx] (may be =
 forged))
        by maila.telia.com (8.12.5/8.12.5) with SMTP id h0A2SVKc007247
        for <anders.helmersson@xxxxxxxxx>; Fri, 10 Jan 2003 03:28:32 +0100 (CET)
 X-Original-Recipient: <anders.helmersson@xxxxxxxxx>
 Received: (qmail 21576 invoked by uid 99); 10 Jan 2003 02:21:22 -0000
 Message-ID: <20030110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