Closed
Bug 34061
Opened 24 years ago
Closed 24 years ago
nearly infinite loop in nsXULDocument::AddSubtreeToDocument() caused by nsXULElement::GetAttributeCount()
Categories
(SeaMonkey :: MailNews: Message Display, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sspitzer, Assigned: waterson)
References
Details
Attachments
(3 files)
1.58 KB,
patch
|
Details | Diff | Splinter Review | |
34.77 KB,
text/plain
|
Details | |
484 bytes,
patch
|
Details | Diff | Splinter Review |
I have a message (I'll attach the mbox format of it) that causes a nearly infinite loop. nsXULElement::GetAttributeCount() gets called, and we fall through with out setting aResult, so it is left uninitialized. in my case, that left it as 57775032, which means I spent a long time in the for loop in AddSubtreeToDocument() I've started a "patch" that prevents the infinite loop. (It works for me.) I'll attach the mbox of the evil message next.
Reporter | ||
Comment 1•24 years ago
|
||
Reporter | ||
Comment 2•24 years ago
|
||
updating summary. now to attach the evil message.
Summary: specific messages causes nearly infinite loop in nsXULDocument::AddSubtreeToDocument() caused by nsXULElement::GetAttributeCount() → nearly infinite loop in nsXULDocument::AddSubtreeToDocument() caused by nsXULElement::GetAttributeCount()
Reporter | ||
Comment 3•24 years ago
|
||
Assignee | ||
Comment 4•24 years ago
|
||
Reporter | ||
Comment 6•24 years ago
|
||
waterson, check that in. r=sspitzer
Comment 7•24 years ago
|
||
a=granrose
Assignee | ||
Comment 8•24 years ago
|
||
fix checked in. update nsXULElement::GetAttributeCount().
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•