🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #38196

CNFSSTAT bombing

#38196
From: David Miller
Date: Tue, 22 Jun 1999 00:00
29 lines
1672 bytes
cnfsstat is blowing up on me:(  Here's the output:

su-2.02# cnfsstat
Class BINARIES  for groups matching "alt.binaries,alt.binaries.*"
Integer overflow in hex number at /usr/local/news/bin/cnfsstat line 445, <STOR> chunk 62.
 Buffer BIN1, len: 4882.81 Mbytes, used: 298.44 Mbytes ( 6.1%)   0 cycles
  Newest: 1999-06-22  2:46:29,    0 days,  2:47:33 ago

Here's the section of code incnfsstat which is doing it:

    my($len) = bhex($lena);
==> my($free) = hex($freea);
    my($update) = hex($updatea);
    my($cyclenum) = hex($cyclenuma) - 1;


I'm assuming it's blowing up because it crossed the 2^32 boundary, but my
perl knowledge is limited enough for this to really be an assumption:)

Is this the expected behavior?  Should I make all the containers < 4GB?  Or 
am I, as usual, doing something stupid?

The particulars: INN2.2 downloaded from isc.org a week ago, bsdi version 4.01.

Thanks,

--- David Miller

Technical Details
Message-ID: <FELb3.2813$AZ2.3128@newsr2.maine.rr.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <FELb3.2813$AZ2.3128@newsr2.maine.rr.com>
Subject: CNFSSTAT bombing
Date: Tue, 22 Jun 1999 00:00:00 +0000
From: David Miller <dmiller@mote.rsn.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 492493600
X-Complaints-To: abuse@rr.com
X-Trace: newsr2.maine.rr.com 930055845 204.210.83.218 (Tue, 22 Jun 1999 05:50:45 PDT)
Organization: TWC Portland, Maine
User-Agent: tin/pre-1.4-980618 (UNIX) (FreeBSD/2.2.7-RELEASE (i386))
NNTP-Posting-Date: Tue, 22 Jun 1999 05:50:45 PDT
Newsgroups: news.software.nntp