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

Re: [leafnode-list] Segfault on texpire



* Ralf Wildenhues wrote on Sat, Jun 15, 2002 at 11:04:46PM CEST:
> * Raymond Scholz wrote on Sat, Jun 15, 2002 at 08:14:47PM CEST:
> > 
> > Segmentation fault
> 
> Bad.  Nicely detailed log, thanks.  And AFAICS you're the third that's
> reported this bug.

Err.  Never mind the questions.  Please try the patch below and report
success/failure.  Same advice given to Jeff Grossman and Mike Castle,
who reported seemingly the same problems in
<B8FC1F6B.1127D%jeff@xxxxxxxxxxx> resp.
<g9e8da.142.ln@xxxxxxxxxxxxxxxxxx>.

Thank you,
Ralf

--- xoverutil.c	2002/05/01 08:41:18	1.23
+++ xoverutil.c	2002/06/15 21:18:38
@@ -491,10 +491,11 @@
 	free(overview);
 
     /* count removed articles */
-    for (art = xfirst; art <= xlast; art++) {
-	if (xoverinfo[art - xfirst].text
-	    && !xoverinfo[art - xfirst].exists) {
+    for (art = 0; art < current; art++) {
+	if (xoverinfo[art].text
+	    && !xoverinfo[art].exists) {
 	    update = 1;
+	    break;	/* no need to go through the rest */
 	}
     }
 


-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list