Article View: news.software.nn
Article #3498decode bug
From: Richard M. Mathews
Date: Wed, 09 Dec 1992 02:25
Date: Wed, 09 Dec 1992 02:25
12 lines
1017 bytes
1017 bytes
The following bug exists in decode.c at patchlevel 16. The code in
gettable() to clear the chtbl array goes one past the end of the array.
Fix is as follows:
256c256
< for (c = 0; c <= MAXCHAR; c++) chtbl[c] = -1;
---
> for (c = 0; c < MAXCHAR; c++) chtbl[c] = -1;
Richard M. Mathews D efend
E stonian-Latvian-Lithuanian
Richard.Mathews@West.Sun.COM I ndependence
Technical Details
Message-ID:
<1g3le9INNrut@smaug.West.Sun.COM>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!olivea!sun-barr!west.West.Sun.COM!smaug.West.Sun.COM!richardShow Full Headers
Complete Article Headers
Message-ID: <1g3le9INNrut@smaug.West.Sun.COM> Subject: decode bug Date: Wed, 09 Dec 1992 02:25:13 +0000 From: Richard.Mathews@West.Sun.COM (Richard M. Mathews) 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!olivea!sun-barr!west.West.Sun.COM!smaug.West.Sun.COM!richard Newsgroups: news.software.nn Organization: Sunsoft Inc., Los Angeles, CA. Lines: 12 NNTP-Posting-Host: astro Originator: richard@astro.West.Sun.COM