Article View: news.software.nn
Article #2806Re: Bug in letter selection.
From: Bill Wohler
Date: Tue, 09 Jun 1992 11:40
Date: Tue, 09 Jun 1992 11:40
44 lines
1885 bytes
1885 bytes
people,
*please* glance at the faq before posting. five posts could have
been eliminated, saving network bandwidth across the whole world.
faq not on your system? read my next post...
Subject: Unofficial patches for various bugs
From: Building nn-12
Several bugs have been reported and fixed and the patches are
available here for those not patient enough to wait until the next
release. Remember, these are *unofficial* patches so back them out
before patching in the next release of nn.
Why does nn crash when I select an article 1 past the last
displayed?
The answer is an off by one bug in menu.c:
*** menu.c.dist Tue May 7 14:17:56 1991
--- menu.c Tue May 7 14:18:03 1991
***************
*** 725,731 ****
article_id = map & ~K_ARTICLE_ID;
map = K_ARTICLE_ID;
! if (article_id < 0 || article_id > menu_articles) {
ding();
goto loop;
}
--- 725,731 ----
article_id = map & ~K_ARTICLE_ID;
map = K_ARTICLE_ID;
! if (article_id < 0 || article_id >= menu_articles) {
ding();
goto loop;
}
--David Wilson <david@cs.uow.edu.au>
Bill Wohler <wohler@sap-ag.de> <sapwdf!wohler>
Heidelberg Red Barons Ultimate Frisbee Team
Technical Details
Message-ID:
<3524@sapwdf.UUCP>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!mcsun!Germany.EU.net!unido!sapwdf!wohlerReferences:
<1992Jun5.181727.15786@javelin.sim.es.com>Show Full Headers
Complete Article Headers
Message-ID: <3524@sapwdf.UUCP> Subject: Re: Bug in letter selection. Date: Tue, 09 Jun 1992 11:40:51 +0000 From: wohler@sapwdf.UUCP (Bill Wohler) References: <1992Jun5.181727.15786@javelin.sim.es.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!mcsun!Germany.EU.net!unido!sapwdf!wohler Newsgroups: news.software.nn Reply-To: Bill Wohler <wohler@sap-ag.de> Organization: SAP AG, Walldorf, Germany Lines: 44