STABLE 20040522 MAJOR problems!
Russ Allbery
rra at stanford.edu
Wed May 26 19:00:22 UTC 2004
Russ Allbery <rra at stanford.edu> writes:
> innd died, and when you went to look for one, you couldn't find any core
> file? (This is pretty mystifying, that it would crash on that article
> after having handled plenty of other articles, and nothing looks strange
> about that article in particular.)
Okay, I think I understand what's going on. I saw the problematic piece
of code earlier too, and just hadn't realized the full implications.
This is fixed fully in CURRENT. For STABLE, could you see if the
following workaround works for you, since you're seeing this problem
currently?
Index: innd.h
===================================================================
RCS file: /proj/cvs/isc/inn/inn/innd/innd.h,v
retrieving revision 1.98.2.1
diff -u -p -r1.98.2.1 innd.h
--- inn/innd/innd.h 2004/05/16 20:54:25 1.98.2.1
+++ inn/innd/innd.h 2004/05/26 18:56:57
@@ -223,16 +223,16 @@ typedef struct _ARTDATA {
struct buffer Overview; /* buffer for overview data */
int CRwithoutLF; /* counter for '\r' without '\n' */
int LFwithoutCR; /* counter for '\n' without '\r' */
- size_t CurHeader; /* where current header starts.
+ long CurHeader; /* where current header starts.
this is used for folded header
it indicates offset from bp->Data */
bool NullHeader; /* contains NULL in current header */
- size_t LastTerminator; /* where last '.' exists. only set if
+ long LastTerminator; /* where last '.' exists. only set if
it exists at the begining of line
it indicates offset from bp->Data */
- size_t LastCR; /* where last CR exists
+ long LastCR; /* where last CR exists
it indicates offset from bp->Data */
- size_t LastCRLF; /* where last CRLF exists.
+ long LastCRLF; /* where last CRLF exists.
indicates where last LF exists
it indicates offset from bp->Data */
HDRCONTENT HdrContent[MAX_ARTHEADER];
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
Please send questions to the list rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
More information about the inn-workers
mailing list