Casper Dik <[EMAIL PROTECTED]> writes:
> ------- =_aaaaaaaaaa0
> Content-Type: text/plain; charset="us-ascii"
> Content-ID: <7335.962623531.1@holland>
>
> The attached message (from some SPAM) has a badly formatted date
> that causes MHN (and MH 6.83) to crash witha segmenation fault.
> (tm_mon is -1 and this causes the sprintf formattign in dasctime
> to crash)
>
> Date: 00-07-02 3:41:04
>
> SPAM was edited down; save and run "show -file ...."
>
>
>
> ------- =_aaaaaaaaaa0
> Content-Type: text/plain; charset="us-ascii"
> Content-ID: <7335.962623531.2@holland>
> Content-Description: baddate
>
> Return-Path: [EMAIL PROTECTED]
> Date: 00-07-02 3:41:04
> From: [EMAIL PROTECTED]
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: from China (i109)
> X-mailer: Clansoft CDmail1.0(beta)
> Message-Id: <[EMAIL PROTECTED]>
> Sender: [EMAIL PROTECTED]
>
> Foo
>
> ------- =_aaaaaaaaaa0--
Hi, Casper. Sorry for the delayed response (nmh was in a non-compilable
state last time I tried to check this out). I confirmed that nmh-1.0.4 on
Solaris seg faults on that mail. nmh-1.0.4+dev, with its rewritten date
parser, however, does not, so it looks like the bug is already fixed.
Thanks for the report. We'll have to try to get out an nmh 1.0.5 / 1.1
before too long. (In the meantime, you can get nmh-1.0.4+dev via anonymous
CVS if you like.)
-----------------------------------------------------------------------
Dan Harkless | To prevent SPAM contamination, please
[EMAIL PROTECTED] | do not post this private email address
SpeedGate Communications, Inc. | to the USENET or WWW. Thank you.