Thread View: news.software.nn
5 messages
5 total messages
Started by Ron Haukenfrers
Thu, 09 May 1991 21:33
BUG Report - NN 6.4.16
Author: Ron Haukenfrers
Date: Thu, 09 May 1991 21:33
Date: Thu, 09 May 1991 21:33
28 lines
1558 bytes
1558 bytes
I've sent mail to "nn-bugs@dkuug.dk" about a week ago and havn't heard back so I'll post the problem to the net. In NN 6.4.16, if you try to select the max_message + 1 the system will core dump. If your try to select max_message + n where n > 1, the system will just beep at you. ie. Assume the following article choices: a Ron Haukenfrers 5 >Test message b Ron Haukenfrers 8 More testing If you try to select "c", the system will core dump. "d-z" will just be ignored. The obvious solution is only select "valid" options, but for the sake of argument say I can't type...or spell :-) I've confirmed this problem on both an AT&T 6386E running UNIX Sys V 3.2.2 and a Sun 370 running SunOS 4.1.1 The question is, is this something just specific to our site or is it a real bug. -- #!/bin/disclaimer "I'm not paid enough to have an opinion :-)" Ron Haukenfrers ron@augeas.cs.athabascau.ca Athabasca University VE6RWH
Re: BUG Report - NN 6.4.16
Author: David E A Wilson
Date: Thu, 09 May 1991 23:43
Date: Thu, 09 May 1991 23:43
29 lines
1510 bytes
1510 bytes
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
Re: BUG Report - NN 6.4.16
Author: Steven M. List
Date: Fri, 10 May 1991 18:47
Date: Fri, 10 May 1991 18:47
14 lines
1451 bytes
1451 bytes
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. If your try to select max_message + n where n > 1, the system >will just beep at you. ie. Assume the following article choices: Interesting - on my system (SCO XENIX V/386 2.3.3) when I select the next article after the last, the LAST is selected/deselected! Any other option gets me a beep. At least it doesn't core dump. -- +----------------------------------------------------------------------------+ : Steven List @ Transact Software, Inc. :^>~ : : Chairman, Unify User Group of Northern California : : itkin@Transact.COM :
Re: BUG Report - NN 6.4.16
Author: Michael Rawdon
Date: Tue, 14 May 1991 00:18
Date: Tue, 14 May 1991 00:18
25 lines
2051 bytes
2051 bytes
In <1991May10.184751.21037@mrspoc.Transact.COM> itkin@mrspoc.Transact.COM (Steven M. List) writes: >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. If your try to select max_message + n where n > 1, the system >>will just beep at you. ie. Assume the following article choices: >Interesting - on my system (SCO XENIX V/386 2.3.3) when I select the >next article after the last, the LAST is selected/deselected! Any other >option gets me a beep. At least it doesn't core dump. On a Pyramid 9815 running BSD 4.3 I get a result similar to Steven's. The distinction is that there apparently must be a minimum number of available selections available on the menu screen (otherwise there is no error). When that minimum is available, selecting the article-after-last results in all articles from (roughly) article #g to the last one on the page being selected. -- Michael Rawdon Internet: rawdon@rex.cs.tulane.edu Tulane University, New Orleans, Louisiana Bitnet: CS6FECU@TCSVM "Communication is hard to establish when things like a state of mind get in the way. People don't eat, they just think what you feed them now; The horse with the blinders eating the hay." - Men Without Hats, "The Great Ones Remember"
Re: BUG Report - NN 6.4.16
Author: Indra Singhal
Date: Mon, 27 May 1991 23:40
Date: Mon, 27 May 1991 23:40
16 lines
1490 bytes
1490 bytes
rawdon@rex.cs.tulane.edu (Michael Rawdon) writes:
>In <1991May10.184751.21037@mrspoc.Transact.COM> itkin@mrspoc.Transact.COM (Steven M. List) writes:
>>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. If your try to select max_message + n where n > 1, the system
>>>will just beep at you. ie. Assume the following article choices:
In case it has not been mentioned yet... this happens under SunOS 4.1.x
Any patches out yet?
--
iNDRA | indra@amd.com or {ames apple uunet}!amd!indra
| (Indra Singhal) (408) 749-5445; Advanced Micro Devices
| MS 167; Box 3453; 901, Thompson Pl., Sunnyvale, CA 94088
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