🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #2797

Re: Bug in letter selection.

#2797
From: Kavaklis Yannis
Date: Sat, 06 Jun 1992 08:20
34 lines
2312 bytes
crystal@glia.biostr.washington.edu (crystal) writes:

>In <1992Jun5.181727.15786@javelin.sim.es.com> pashdown@javelin.sim.es.com (Pete Ashdown) writes:


>>A user here found this bug today.  If you are looking at a title selection
>>screen which doesn't have many articles, and you type the letter of an article
>>that is higher than what is on the screen, nn coredumps.  For example, if you
>>have one article "a" and you type any letter from b-z, it will coredump.
>>-- 
>>  See the problems you get, when the heart of a man means less than a TV set.

>>DISCLAIMER: My writings have NOTHING to do with my employer.  Keep it that way.
>>Pete Ashdown    pashdown@slack.sim.es.com    ...uunet!slack.sim.es.com!pashdown

>Yes, it happens to me, too... if there are 6 articles and I want to look at
>all of them and forget to pay attention and hit a 7th letter then I get a 
>half-meg+ of core dump. I got puzzled when I found core dumps in 6 of my
>directories, and my administrator was irritable because I was over my storage
>quota.  We figured out that if you create a directory called 'core' in each
>one of the directories you are likely to call nn from, then the core dump has
>no place to go and voila! no more over quota angry sys admins... ;>
> 
> .

The problem is in the menu.c file in the function get_k_cmd_1().
You have to change tha range check at the end of the function.
As far it concerns the coredumps, the command
limit coredumpsize 0m
in your .cshrc file (in case that you use csh) will prevent any further 
coredumps.. (or you can do it just before starting a programm that may
produce a useless core file).

Yannis Kavaklis
Technical Details
Message-ID: <1992Jun6.082028.4077@csd.uch.gr>
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!sparky!uunet!mcsun!ariadne!csd.uch.gr!kavaklis
References: <1992Jun5.181727.15786@javelin.sim.es.com> <crystal.707792300@glia>

Show Full Headers
Complete Article Headers
Message-ID: <1992Jun6.082028.4077@csd.uch.gr>
Subject: Re: Bug in letter selection.
Date: Sat, 06 Jun 1992 08:20:28 +0000
From: kavaklis@csd.uch.gr (Kavaklis Yannis )
References: <1992Jun5.181727.15786@javelin.sim.es.com> <crystal.707792300@glia>
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!sparky!uunet!mcsun!ariadne!csd.uch.gr!kavaklis
Newsgroups: news.software.nn
Organization: Computer Science Department University of Crete GREECE
Lines: 34