inn-2.2 / storageapi + wireformat == corruption

Russ Allbery rra at
Sun Sep 26 01:03:36 UTC 1999

Russ Allbery <rra at Stanford.EDU> writes:

> Yup.  I finally had a chance to go and look at this, and QIOread() has:
> which will mangle any article that's in wire format and contains an
> embedded bare newline.  Not good.  It needs to be rewritten into a loop
> that searches specifically for \r\n when WireFormat is set.

Okay, I just checked a patch to qio.c into CURRENT that should fix this.
Everything looks correct in testing, but QIO is used by half of INN in all
sorts of odd places, so everyone please let me know if something breaks.

Russ Allbery (rra at         <URL:>

More information about the inn-workers mailing list