Thread View: news.software.nn
2 messages
2 total messages
Started by Ajay Shah
Tue, 05 May 1992 22:39
NN bug
Author: Ajay Shah
Date: Tue, 05 May 1992 22:39
Date: Tue, 05 May 1992 22:39
18 lines
1143 bytes
1143 bytes
I found I could reproduce this bug in nn 6.4.16.
I am at a menu containing four entries (a b c d). Each of them is a
single article. I say "c d e" and it dumps core. It did this in two
different newsgroups too, repeatedly. I tried to script the whole
interaction but script would not work right.
My .nn/init file looks like this:
set consolidated-menu
set mail-alias-expander nn-expand-mail-alias
Thanks,
-ans.
--
Ajay Shah, (213)749-8133, ajayshah@usc.edu
Re: NN bug
Author: guest account
Date: Thu, 07 May 1992 13:46
Date: Thu, 07 May 1992 13:46
89 lines
3585 bytes
3585 bytes
ajayshah@almaak.usc.edu (Ajay Shah) writes:
>I found I could reproduce this bug in nn 6.4.16.
>I am at a menu containing four entries (a b c d). Each of them is a
>single article. I say "c d e" and it dumps core. It did this in two
>different newsgroups too, repeatedly. I tried to script the whole
>interaction but script would not work right.
>Thanks,
> -ans.
>--
>Ajay Shah, (213)749-8133, ajayshah@usc.edu
This was a problem earlier in nn 6.4.16. It is probably in the faq for nn.
It was also posted here some months ago. I am enclosing the original article
that would correct this.
Hope this helps.
Ed.
*** Original article ***
From: sherman@unx.sas.com (Chris Sherman)
Newsgroups: news.software.nn
Subject: Re: nn 6.4.16 is coredumping like crazy!! Help!!
Keywords: nn coredump core dump huge core files
Message-ID: <sherman.687061516@foster>
Date: 10 Oct 91 02:25:16 GMT
References: <1991Oct5.190108.337@nixbbs.UUCP>
Sender: news@unx.sas.com (Noter of Newsworthy Events)
Organization: SAS Institute Inc.
Lines: 53
Nntp-Posting-Host: foster.unx.sas.com
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads