Streaming NNTP bug (redux)

River Tarnell river at RT.UK.EU.ORG
Thu Jan 12 21:03:45 UTC 2012


River Tarnell:
> I'm still trying to reproduce the problem on my own server; I'll try 
> the fix there if I can.

Finally I reproduced this using a list of 50,000 CHECK commands.  10,000 
was not sufficient ;-)

Here is the bug (2.5.2nb4 from pkgsrc):

% ./inntest isis 433 list > out; egrep -v '^(.38|200)' out
e438 <ecedb319-ae53-46a7-91c7-49c21a1d31df at p3g2000pbb.googlegroups.com>
$438 <cf2e6318-c7e4-4e4b-b581-7dba723ebc80 at iu7g2000pbc.googlegroups.com>
% ./inntest isis 433 list > out; egrep -v '^(.38|200)' out
g438 <jelrgt$hga$5 at dont-email.me>
% ./inntest isis 433 list > out; egrep -v '^(.38|200)' out
g438 <jelrgt$hga$5 at dont-email.me>
% ./inntest isis 433 list > out; egrep -v '^(.38|200)' out
e438 <1651463140348034694.072087djmartin_nospam-tamu.edu at news.eternal-september.org>
% ./inntest isis 433 list > out; egrep -v '^(.38|200)' out
>438 <9n79r6F81mU1 at mid.individual.net>
% ./inntest isis 433 list > out; egrep -v '^(.38|200)' out
e438 <ecedb319-ae53-46a7-91c7-49c21a1d31df at p3g2000pbb.googlegroups.com>

It happens every time with this list.

Then I applied your patch and tested again:

% ./inntest isis 433 list > out; egrep -v '^(.38|200)' out
% ./inntest isis 433 list > out; egrep -v '^(.38|200)' out
% ./inntest isis 433 list > out; egrep -v '^(.38|200)' out
% ./inntest isis 433 list > out; egrep -v '^(.38|200)' out
% ./inntest isis 433 list > out; egrep -v '^(.38|200)' out
% ./inntest isis 433 list > out; egrep -v '^(.38|200)' out

So, this seems to have fixed it.

Thanks!

Regards,
-- 
        -- river.                      | Free Usenet: http://news.rt.uk.eu.org/
Non-Reciprocal Laws of Expectations:   | PGP: 2B9CE6F2
    Negative expectations yield negative results.
    Positive expectations yield negative results.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4184 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/inn-workers/attachments/20120112/56195cd8/attachment.bin>


More information about the inn-workers mailing list