inn2.3, newnews command

Matthias Urlichs smurf at noris.net
Tue Jan 11 11:42:44 UTC 2000


Hi,

unilerik at green.rnd.uni-c.dk:
> newnews * 000111 000000
> Connection closed by foreign host.
> 
Segmentation fault due to memory overrun.

> Any suggestions ?

prcs: Producing diffs from base.484 to test.22(w).
Index: base.484/nnrpd/commands.c
--- base.484/nnrpd/commands.c Mon, 20 Dec 1999 08:11:29 +0100 smurf (net_news_inn/b/43_commands.c 1.24.1.10 664)
+++ test.22(w)/nnrpd/commands.c Wed, 05 Jan 2000 12:55:54 +0100 smurf (net_news_inn/b/43_commands.c 1.24.1.10 664)
@@ -656,7 +656,7 @@
 	    grouplist = NEW(GROUPDATA, 1000);
 	    listsize = 1000;
 	}
-	if (listsize < numgroups) {
+	if (listsize <= numgroups) {
 	    listsize += 1000;
 	    grouplist = RENEW(grouplist, GROUPDATA, listsize);
 	}

-- 
Matthias Urlichs  |  noris network GmbH   |   smurf at noris.de  |  ICQ: 20193661
The quote was selected randomly. Really.    |      http://www.noris.de/~smurf/
-- 
The paperwork has GOT to be right - Anon.



More information about the inn-workers mailing list