🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Ernie Cozen Sat, 26 Oct 2002 21:30
Re: OE6 bug ? (killer article)
#61648
Author: Ernie Cozen
Date: Sat, 26 Oct 2002 21:30
13 lines
1772 bytes
Simon Lyall <simon@darkmere.gen.nz> a approximativement �crit dans
<news:1035633070-test@darkmere.gen.nz> : 

> Someone at work was testing some news posting software a few days
> ago and some customers reported that messages with the same ID in
> both the message-id and references header (like this one) killed
> OE6. 
> 
> Can anyone confirm if this is the case?
> 

Yes :(
Re: OE6 bug ? (killer article)
#61661
Author: Jøhnny Fävòrítê (it means "Sick-...
Date: Sun, 27 Oct 2002 06:24
18 lines
1799 bytes
Ernie Cozen wrote:
> Simon Lyall wrote:
>> Someone at work was testing some news posting software a few days
>> ago and some customers reported that messages with the same ID in
>> both the message-id and references header (like this one) killed
>> OE6.
>>
>> Can anyone confirm if this is the case?
>
> Yes :(

K00L.  What do you bet it's an infinite recursion bug, where OE is
trying to walk the References: header back to its root, and of course
can't do it.

Now that I think about it, I wonder why it didn't crash MY newsreader.
Anyway, definitely one to add to my stable of test cases.
Re: OE6 bug ? (killer article)
#61666
Author: Jeffrey M. Vinocur
Date: Sun, 27 Oct 2002 15:16
18 lines
1778 bytes
In article <PM0003ADF6AA4B34CE@minion.nashville.comcast.net>,
J�hnny F�v�r�t� (it means "Sick-Cow Vibrato")  <this.is@totally.fake.com> wrote:
>
>K00L.  What do you bet it's an infinite recursion bug, where OE is
>trying to walk the References: header back to its root, and of course
>can't do it.
>
>Now that I think about it, I wonder why it didn't crash MY newsreader.
>Anyway, definitely one to add to my stable of test cases.

Are you using something like http://www.jwz.org/doc/threading.html
which actually considered the possibility of malicious input,
apparently unlike OE?

-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: OE6 bug ? (killer article)
#61668
Author: Jøhnny Fävòrítê (it means "Sick-...
Date: Sun, 27 Oct 2002 16:01
45 lines
3447 bytes
J�hnny F�v�r�t� wrote:
> Now that I think about it, I wonder why it didn't crash MY
> newsreader.

Well, whaddaya know.  This thread actually DID crash my newsreader, once
it got some follow-ups.  Actually not an out-and-out crash, but it sent
one of my program's threads into an infinite loop that you can only get
out of by selecting a different newsgroup.

Jeffrey M. Vinocur wrote:
> Are you using something like http://www.jwz.org/doc/threading.html
> which actually considered the possibility of malicious input,
> apparently unlike OE?

I've read JWZ's threading document and it's very thorough but I didn't
go that route.  I don't like the possibility of two unrelated threads
getting stuck together due to having the same subject text and it's a
lot of extra work besides.  So I use only the References: header.

I take bugs very seriously so I've re-acquainted myself with how my
newsreader does threading and have already fixed it for this special
case.  Here's how I was getting fouled up.

I've got the list of all articles in a group and it's time to pick the
most appropriate parent article to hang each one underneath.  If it has
no References: header then it's top-level, stop.  If it DOES have
references then I pick the last message-ID off the end of the list and
see if that article exists in the current view.  If so, you've got your
parent.  If not, keep going up the references list, etc.  It might end
up being top-level after all if none of its ancestors can be located.

Run that algorithm in your head for this special case and you find that
Simon's screwed-up article will end up in the incestuous position of
being its own parent.  Later on, when trying to walk the ancestor tree
up to its root in an attempt to coalesce related sub-threads, I ended up
in an infinite loop.  Bang.

So I added one line of code that compares pointers during the
ancestor-finding phase to make sure that an article's parent isn't
itself.  Fixed.

Of course that still leaves the possibility of a screwed-up ancestor
heirarchy that is circular but involves more than one article.  I'll
have to think about that one.
Re: OE6 bug ? (killer article)
#61669
Author: LiberalMinded
Date: Sun, 27 Oct 2002 17:39
77 lines
4967 bytes
In news:PM0003ADFF9215EBDD@minion.nashville.comcast.net, J�hnny F�v�r�t� (it
means "Sick-Cow Vibrato"), this.is@totally.fake.com, said this thingy or two
which I am making sure goggle keeps forever:

| J�hnny F�v�r�t� wrote:
|| Now that I think about it, I wonder why it didn't crash MY
|| newsreader.
|
| Well, whaddaya know.  This thread actually DID crash my newsreader,
| once it got some follow-ups.  Actually not an out-and-out crash, but
| it sent one of my program's threads into an infinite loop that you
| can only get out of by selecting a different newsgroup.

Not yet on this end but maybe running OE Quote fix or having the latest
updates to OE and XP has something to do with it?????

|
| Jeffrey M. Vinocur wrote:
|| Are you using something like http://www.jwz.org/doc/threading.html
|| which actually considered the possibility of malicious input,
|| apparently unlike OE?
|
| I've read JWZ's threading document and it's very thorough but I didn't
| go that route.  I don't like the possibility of two unrelated threads
| getting stuck together due to having the same subject text and it's a
| lot of extra work besides.  So I use only the References: header.
|
| I take bugs very seriously so I've re-acquainted myself with how my
| newsreader does threading and have already fixed it for this special
| case.  Here's how I was getting fouled up.
|
| I've got the list of all articles in a group and it's time to pick the
| most appropriate parent article to hang each one underneath.  If it
| has no References: header then it's top-level, stop.  If it DOES have
| references then I pick the last message-ID off the end of the list and
| see if that article exists in the current view.  If so, you've got
| your parent.  If not, keep going up the references list, etc.  It
| might end up being top-level after all if none of its ancestors can
| be located.
|
| Run that algorithm in your head for this special case and you find
| that Simon's screwed-up article will end up in the incestuous
| position of being its own parent.  Later on, when trying to walk the
| ancestor tree up to its root in an attempt to coalesce related
| sub-threads, I ended up in an infinite loop.  Bang.
|
| So I added one line of code that compares pointers during the
| ancestor-finding phase to make sure that an article's parent isn't
| itself.  Fixed.
|
| Of course that still leaves the possibility of a screwed-up ancestor
| heirarchy that is circular but involves more than one article.  I'll
| have to think about that one.

-- 
mhm32x20
Royal Pain in the Assbasturderr to teh Land of teh Snuh and
teh Dead Wastelands of Meow as well as teh Usenet at large.
In case ya did not know it MEOW is dead, ya know!!!!
ITU founding member in bad standing fer as long as it exists.

Moderator of teh support ng news:alt.support.dislocated.ass

www.COMINGsoonTOthisSPOTinMYsigMYveryOWNsillyASSwebpage.com

Tired of Liberalminded?  Want to killfile me and almost all of my socks?
Yes, this is a valid email addy    liberalmindedoneSHIT@hotSHITmail.com
Remove "ALL" SHIT and email me a request for my socks and you will have
them when I get around to checking that email that once per week or so.




-----------== Posted via Newsfeed.Com - Uncensored Usenet News ==----------
   http://www.newsfeed.com       The #1 Newsgroup Service in the World!
-----= Over 100,000 Newsgroups - Unlimited Fast Downloads - 19 Servers =-----
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads