pre112 - Y2K-like wraparound bug when creating/reading spool

"Rudy Taraschi" <[email protected]>
Newsgroups gmane.network.slrn.user
Message-ID <[email protected]>
Hi folks,

I've discovered a nasty little bug in pre112 when reading from a spool
created by slrnpull.  This bug may have been here since Day 1.  When
the article numbers get to INT_MAX (around 2.1 billion), they wrap,
and two things happen:

1) slrnpull will no longer fetch new articles
2) slrn will go into 100% CPU usage loop and never come out when
entering that group if 'read_active' is set

Here's the relevant lines in the slrnpull spool files (news server is
news.motzarella.org):

data/active:

    rec.motorcycles.harley 2126026959 4700 y

.minmax

    4700 2126026959

.servermin

   227

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.