[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#4664: Innd fails to recognize end of article



Package: inn
Version: 1.4unoff4-1

Innd sometimes fails to recognize the end of an article that is a little
too big (bigger that the configured limit) possibly causing a halt of the
feed. The problem is a pointer not being reset.

Sugested patch follows (It has been tested):

--- innd/nc.c.Buggy	Sat Apr  6 15:47:00 1996
+++ innd/nc.c	Thu Aug  1 12:06:26 1996
@@ -982,7 +982,7 @@
 		    for (p = bp->Data, i = 0; i < SAVE_AMT; p++, i++)
 			p[0] = p[bp->Used - SAVE_AMT];
 		    wp->Size += bp->Used - SAVE_AMT;
-		    bp->Used = SAVE_AMT;
+		    bp->Used = cp->Lastch = SAVE_AMT;
 		    cp->State = CSeatarticle;
 		}
 		cp->Rest = 0;


/Anders

--
Anders Chrigstrom               Email: ac@netg.se
TerraTel AB                       Tfn: +46 (0)31 50 79 40


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: