Article View: news.software.nn
Article #2146Re: nn 6.4.16 is coredumping like crazy!! Help!!
From: Don O'Shaughnessy
Date: Wed, 09 Oct 1991 02:12
Date: Wed, 09 Oct 1991 02:12
39 lines
2054 bytes
2054 bytes
hanson@pogo.fnal.gov (Steve Hanson) writes:
>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.
This patch posted by David Wilson fixed the problem here:
--- from his original article ---
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;
}
--- cut here ---
David Wilson Dept Comp Sci, Uni of Wollongong david@cs.uow.edu.au
-------------------------------------------------------------------------------
Don O'Shaughnessy | Public Affairs Services, Toronto CAN
...!{uunet, lsuc, moore}!eastern!don | V: 1 416 281 4756 F: 1 416 283 7637
-------------------------------------------------------------------------------
Technical Details
Message-ID:
<1991Oct09.021206.1290@eastern.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!gmdzi!unido!mcsun!news.funet.fi!sunic!ugle.unit.no!nuug!ifi.uio.no!kth.se!eru!bloom-beacon!micro-heart-of-gold.mit.edu!wupost!cs.utexas.edu!utgpu!utzoo!telly!moore!eastern!rootReferences:
<1991Oct5.190108.337@nixbbs.UUCP> <hanson.686847555@pogo>Show Full Headers
Complete Article Headers
Message-ID: <1991Oct09.021206.1290@eastern.COM> Subject: Re: nn 6.4.16 is coredumping like crazy!! Help!! Date: Wed, 09 Oct 1991 02:12:06 +0000 From: root@eastern.COM (Don O'Shaughnessy) References: <1991Oct5.190108.337@nixbbs.UUCP> <hanson.686847555@pogo> 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!news.funet.fi!sunic!ugle.unit.no!nuug!ifi.uio.no!kth.se!eru!bloom-beacon!micro-heart-of-gold.mit.edu!wupost!cs.utexas.edu!utgpu!utzoo!telly!moore!eastern!root Newsgroups: news.software.nn Keywords: nn coredump core dump huge core files Organization: Public Affairs Services, Toronto Lines: 39