Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!unido!ira.uka.de!news From: S_BLESS@irav1.ira.uka.de (Roland Bless) Newsgroups: comp.sys.amiga.tech Subject: Re: short overflow in Dnews and Arn Summary: new arn version fixes this bug Message-ID: <90.355.12:27:01@ira.uka.de> Date: 21 Dec 90 12:20:55 GMT References: <901120.223410.CST.C506634@umcvmb.missouri.edu> Sender: news@ira.uka.de (USENET News System) Reply-To: rob@spirits.ka.sub.org Followup-To: comp.sys.amiga.tech Organization: University of Karlsruhe, FRG Lines: 42 In article <901220.223410.CST.C506634@umcvmb.missouri.edu>, C506634@UMCVMB.MISSOURI.EDU (Eric Edwards) writes... >I have discovered, with a certain amount of dispointment, that Dnews and >Arn use 16 bit signed integers to store the message number. Why is this a >problem? Well, I copy my news articles straight from a unix machine without Someone reported this bug earlier to bugs@spirits.ka.sub.org and I don't remember who it was, but this problem should be fixed now, so I decided to post. Arn uses LONG integers for article numbers, but because of a missing ANSI-C, I forgot the (RIGHT) function prototypes, so that longs were casted to short integers. This should be fixed in Version 0.67e. It is available on abcfd20 via a-ftp in /incoming/amiga/AmigaUUCP_Plus (see my posting in this group). >comp.sys.amiga past the magic 32767 point and kept going. Arn and Dnews >complain bitterly about negative message numbers. I hope that this is no longer true for versions >0.67e of Arn. >I don't have source for Arn so I figured I'd recompile or patch Dnews. I will distribute the Arn-Source as soon as the kill-file is implemented (which is currently not! :-(). >Neither compiling without a make file or installing a new C compiler fills my >heart with joy. That's true!! >So, does anyone out there have a copy of Dnews or Arn patched or recompiled to >used 32 bit ints? If you do I would greatly apreciate a copy. I hope that this is no longer necessary. Get the newest version of Arn! Because I'll be on holiday for the next three weeks and my site spirits is offline for this time don't complain for late replies. All E-Mail to me will naturally be saved, but I can't read your follow-ups, so you SHOULD REPLY by mail on this posting. Thanks, Roland -- Roland Bless - rob@spirits.ka.sub.org , BITNET:UKG5@DKAUNI2.BITNET