INN2.3, newnews command under aix using buffindexed fails

Katsuhiro Kondou kondou at nec.co.jp
Wed Feb 23 10:49:20 UTC 2000


In article <Pine.LNX.4.10.10002231025580.1001-100000 at green.rnd.uni-c.dk>,
	unilerik at green.rnd.uni-c.dk wrote;

} Using 'buffindexed' the nnrpd connection is closed......
} #############################################################################
} newnews * 000220 070000
} buffindexed.c:1512 Can't malloc 0 bytes: Invalid argument230 New news follows
} Connection closed by foreign host.
} #############################################################################
} 
} I think I'll go for buffindexed - do you think the newnews problem
} can be fixed?

How about attached?

--- storage/buffindexed/buffindexed.c.orig	Fri Jan 28 18:02:48 2000
+++ storage/buffindexed/buffindexed.c	Wed Feb 23 19:47:49 2000
@@ -1509,6 +1509,8 @@
     Gibcount = high - low + 1;
   else
     Gibcount = ge->count;
+  if (Gibcount == 0)
+    return TRUE;
   Gib = NEW(OVINDEX, Gibcount);
   count = 0;
   while (ov.index != NULLINDEX) {


-- 
Katsuhiro Kondou



More information about the inn-workers mailing list