readnews (2.10.3 4.3bsd-beta 6/6/85) bug + workaround

Sam Kendall sam at delftcc.UUCP
Wed Nov 20 12:48:33 AEST 1985


I recently rmgroup'd locally a bunch of obsolete newsgroups and added a
bunch of new ones to "active".  After this, readnews dumped core.  This
is on a Codata 68000 machine, which will dump core for indirection of
NULL, and that's just what the bug turned out to be.  The indicated
subexpression was NULL:

rfuncs.c, line 569:
		if (lentab[i] == len && strncmp(name, rcline[i], len) == 0)
						      ^^^^^^^^^

I don't have a fix, but after I deleted references to the obsolete
newsgroups in my .newsrc, readnews ran fine.

inews is 2.10.2 but readnews is 2.10.3 4.3bsd-beta 6/6/85 on this
system.

----
Sam Kendall					"This bug found with
Delft Consulting Corp.				 The Bcc Compiler, a
(212) 243-8700					 'C' runtime checker."
{allegra, seismo!cmcl2, ihnp4}!delftcc!sam



More information about the Net.bugs mailing list