Article View: news.software.nn
Article #2149Re: nn 6.4.16 is coredumping like crazy!! Help!!
From: Chris Sherman
Date: Thu, 10 Oct 1991 02:25
Date: Thu, 10 Oct 1991 02:25
53 lines
2555 bytes
2555 bytes
In <1991Oct5.190108.337@nixbbs.UUCP> root@nixbbs.UUCP (Donald Burr) writes:
>We are running nn 6.4.16, and having *MAJOR* problems with nn coredumping.
>The main place where this happens is at the article selection level; if you
>hit the letter of an article that isn't on the display (i.e. if articles
>are listed lettered from a-m, and you hit 'q'), nn coredumps.
>Is there a patch or fix that will correct this? Or is a new version of nn
>available that fixes this?
>In any case, please supply relevant data as to how to get this stuff -- FTP
>site, what directory and filename, etc.
Back in May, David Wilson posted this unofficial patch. Standard
disclaimers apply.
ron@augeas.cs.athabascau.ca (Ron Haukenfrers) writes:
>In NN 6.4.16, if you try to select the max_message + 1 the system will
>core dump.
>The question is, is this something just specific to our site or is it a real
>bug.
It is a real bug (an off by one error in menu.c):
*** /share/src/nn/menu.c Tue May 7 14:18:03 1991
--- /share/src/nn/menu.c.dist Tue May 7 14:17:56 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 Dept Comp Sci, Uni of Wollongong david@cs.uow.edu.au
--
____/ / / __ / _ _/ ____/
/ / / / / / / Chris Sherman
/ ___ / _/ / /
_____/ __/ __/ __/ _\ _____/ _____/ sherman@unx.sas.com
Technical Details
Message-ID:
<sherman.687061516@foster>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!gmdzi!unido!mcsun!uunet!wupost!psuvax1!rutgers!mcnc!rti!mozart.unx.sas.com!foster!shermanReferences:
<1991Oct5.190108.337@nixbbs.UUCP>Show Full Headers
Complete Article Headers
Message-ID: <sherman.687061516@foster> Subject: Re: nn 6.4.16 is coredumping like crazy!! Help!! Date: Thu, 10 Oct 1991 02:25:16 +0000 From: sherman@unx.sas.com (Chris Sherman) References: <1991Oct5.190108.337@nixbbs.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!gmdzi!unido!mcsun!uunet!wupost!psuvax1!rutgers!mcnc!rti!mozart.unx.sas.com!foster!sherman Newsgroups: news.software.nn Keywords: nn coredump core dump huge core files Sender: news@unx.sas.com (Noter of Newsworthy Events) Organization: SAS Institute Inc. Lines: 53 Nntp-Posting-Host: foster.unx.sas.com