🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #1675

Re: BUG Report - NN 6.4.16

#1675
From: David E A Wilson
Date: Thu, 09 May 1991 23:43
29 lines
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
Technical Details
Message-ID: <1991May9.234311.271@cs.uow.edu.au>
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!math.fu-berlin.de!fub!ox.com!caen!uakari.primate.wisc.edu!samsung!munnari.oz.au!metro!cs.uow.edu.au!david
References: <ron.673824820@augeas.cs.athabascau.ca>

Show Full Headers
Complete Article Headers
Message-ID: <1991May9.234311.271@cs.uow.edu.au>
Subject: Re: BUG Report - NN 6.4.16
Date: Thu, 09 May 1991 23:43:11 +0000
From: david@cs.uow.edu.au (David E A Wilson)
References: <ron.673824820@augeas.cs.athabascau.ca>
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!math.fu-berlin.de!fub!ox.com!caen!uakari.primate.wisc.edu!samsung!munnari.oz.au!metro!cs.uow.edu.au!david
Newsgroups: news.software.nn
Organization: Dept of Computer Science, Wollongong University
Lines: 29