Segmentation fault in art.c linh 853
Katsuhiro Kondou
kondou at nec.co.jp
Wed Oct 6 08:10:55 UTC 1999
In article <19991005233540.A28192 at lucifer.ccom.uminho.pt>,
fjpc at ccom.uminho.pt wrote;
} My innd server 2.2 started core dumping whith seg fault. I upgraded to 2.2.1 but the seg. fault continued.
} I debugged de core and found out that it was trying to memcpy to a null address.
} A _very_ quick browse through the code lead me to the (probably absurd) patch bellow applied to art.c in the innd.
} Can anyone please check if there is a better way to solve this problem?
This was just fixed. See the next STABLE snapshot or
apply attached.
--- innd/art.c.orig Tue Sep 21 18:49:25 1999
+++ innd/art.c Wed Oct 6 17:06:00 1999
@@ -823,6 +823,10 @@
return in;
}
+ /* Skip the Bytes header */
+ if (hp == &ARTheaders[_bytes])
+ return in;
+
if (hp->Type == HTsav) {
*deltap = 0;
}
--
Katsuhiro Kondou
More information about the inn-bugs
mailing list