[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bad dates in header kill router



I have uploaded a message which causes an "Arithmetic Exception" in the
"lilian()" date  routine.  It seems that the given date header is causing a
divide by zero.

An example message is at (and included as a text attachment to this message):

 ftp://mea.tmt.tele.fi/incoming/bad.date.kills.router.253176-6120
 
And here's the gdb output:

Program received signal SIGTSTP, Stopped (user).
0xef5b8960 in _libc_read ()
(gdb) break lilian
Breakpoint 2 at 0x1a898: file dateparse.c, line 270.
(gdb) c
Continuing.
 process 252429-6119

Breakpoint 2, lilian (yyyy=1999, mm=0, dd=10) at dateparse.c:270
270             ly = yyyy%4 == 0 ? 1 : 0;
(gdb) n
271             if (yyyy%100 == 0) ly = 0;
(gdb)
272             if (yyyy%400 == 0) ly = 1;
(gdb)
273             nnn = INT(3 / (mm + 1)) * (31 * (mm -1) + dd) +
(gdb)

Program received signal SIGFPE, Arithmetic exception.
0xef611908 in .div ()

Our site is receiving numerous such messages from a list processor....

Any help would be greatly appreciated.  Currently, I'm sidelining these and
fixing them manually.

Regards,

Shawn Robinson

external
rcvdfrom 56k-23.sc.avalon.net ([205.217.137.152]:1878 "HELO hermod.craigerware.avalon.net")
comment 56k-23.sc.avalon.net [205.217.137.152]:1878 "HELO hermod.craigerware.avalon.net" smtp-auth: <none> TLS-CIPHER: <none> TLS-CCERT: <none>)
with SMTP
identinfo NO-IDENT-SERVICE[2]
from <carlsagan-owner@craigerware.avalon.net>
todsn ORCPT=rfc822;user@domain.com
to <user@domain.com>
env-end
Received: from hermod (craigerware.avalon.net [205.217.137.41] ) by hermod.craigerware.avalon.net
    (Hethmon Brothers Smtpd) ; Sat, 25 Sep 1999 10:40:58 -0600
Received: from po2.bbn.com (po2.bbn.com [192.1.50.36] ) by hermod.craigerware.avalon.net
    (Hethmon Brothers Smtpd) ; Sat, 25 Sep 1999 10:40:53 -0600
X-Envelope-To: <carlsagan@craigerware.avalon.net>
Received: from bruins.bbn.com (bruins.bbn.com [171.78.148.81])
	by po2.bbn.com (8.9.1/8.9.1) with SMTP id LAA05993;
	Sat, 25 Sep 1999 11:41:10 -0400 (EDT)
Message-Id: <3.0.3.32.19990925113549.00e477d8@pobox3.bbn.com>
X-Sender: lklaes@pobox3.bbn.com
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Sat, 25 Sep 1999 10:40:55 CST6CDT,4,1,0,7200,10,-1,0,10800,3600
X-OldDate:   Sat, 25 Sep 1999 11:35:49 -0400
Sender: carlsagan-owner <carlsagan-owner@craigerware.avalon.net>
X-Listname: carlsagan@craigerware.avalon.net
Reply-To: "Carl Sagan List" <carlsagan@cwe.cx>
From:   Larry Klaes <lklaes@bbn.com>
To:   "fpspace@solar.rtd.utk.edu" <fpspace@SOLAR.RTD.UTK.EDU>
Subject: Sagan:   NASA seizes lunar dust

http://www.nytimes.com/yr/mo/day/news/national/regional/ny-moon-nasa.html

To quote in part:

Reznikoff, trying to describe the value of a piece of the 
Moon, said that it was akin to "the home run ball hit by 
Mark McGwire."

By contrast, Russian Moon rocks gathered during unmanned
retrieval missions are less valuable because they have been
privately owned and sold -- the last chunk to go on the market
was auctioned in 1993 at Sotheby's for more than $400,000. 



-=============================================================-
-=  Send all help/info requests to:                          =-
-=            carlsagan-owner@cwe.cx                         =-
-=-----------------------------------------------------------=-
-=  TO UNSUBSCRIBE:                                          =-
-=  Message To: carlsagan-request@cwe.cx                     =-
-=     Subject: <blank>                                      =-
-=     Body: unsubscribe (or unsubscribe carlsagan-digest)   =-
-=-----------------------------------------------------------=-
-=           Carl Sagan Mailing List Home Page               =-
-=        http://frontpage.lightspeed.net/rcbloom            =-
-=-----------------------------------------------------------=-
-=  This list provided courtesy of CraigerWare Enterprises   =-
-=                   http://www.cwe.cx/                      =-
-= Custom software, internet hosting, and the kitchen sink!  =-
-=============================================================-