Article View: news.software.nn
Article #2462Fix for faulty nn :decode (gif grabbers take note)
From: Mark Rawling
Date: Fri, 14 Feb 1992 04:27
Date: Fri, 14 Feb 1992 04:27
19 lines
1094 bytes
1094 bytes
Ever noticed how sometimes nn will decode all parts of a multi-part
article only to fail and remove it at the end?
Well, it will happen to any article that supplies a translation table
due to the following bug:
In file decode.c, line 256
for (c = 0; c <= MAXCHAR; c++) chtbl[c] = -1;
*
should be:
for (c = 0; c < MAXCHAR; c++) chtbl[c] = -1;
Without this fix, the cdlen table gets clobbered by chtbl[MAXCHAR]
(ie a range error).
Mark
Technical Details
Message-ID:
<1992Feb14.042744.11267@mel.dit.csiro.au>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!munnari.oz.au!mel.dit.csiro.au!koel.mel.dit.csiro.au!mwrShow Full Headers
Complete Article Headers
Message-ID: <1992Feb14.042744.11267@mel.dit.csiro.au> Subject: Fix for faulty nn :decode (gif grabbers take note) Date: Fri, 14 Feb 1992 04:27:44 +0000 From: mwr@koel.mel.dit.csiro.au (Mark Rawling) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!munnari.oz.au!mel.dit.csiro.au!koel.mel.dit.csiro.au!mwr Newsgroups: news.software.nn Sender: news@mel.dit.csiro.au Organization: CSIRO DIT (Melb.) Lines: 20