Closed Bug 528963 Opened 15 years ago Closed 15 years ago

Crash [@ txXPathNode::RootOf]

Categories

(Core :: XSLT, defect)

defect
Not set
critical

Tracking

()

RESOLVED FIXED
Tracking Status
status1.9.2 --- beta5-fixed

People

(Reporter: pvnick, Assigned: peterv)

References

Details

(Keywords: crash)

Crash Data

Attachments

(3 files, 1 obsolete file)

Attached file testcase
Nonexploitable crash - may be related to bug 528590.
Attached file stack
Keywords: crash
Attached patch v1 (obsolete) — Splinter Review
matches(...) returns a boolean, so we don't report errors when evaluating most patterns. We do return early in txXSLKey::testNode without popping the eval context that we pushed, but we ignore the error it returns and keep going with an eval context stack that doesn't reflect reality. I decided to not change matches' signature in this bug, since that's a very invasive change, but instead just pop the eval context before returning. I'll file a bug about matches if we don't have one already.
Assignee: nobody → peterv
Status: NEW → ASSIGNED
Attachment #413048 - Flags: review?(jonas)
Did you attach the wrong file?
Attached patch v1Splinter Review
Sigh.
Attachment #413048 - Attachment is obsolete: true
Attachment #413559 - Flags: review?(jonas)
Attachment #413048 - Flags: review?(jonas)
Comment on attachment 413559 [details] [diff] [review]
v1

Simple crash fix.
Attachment #413559 - Flags: approval1.9.2?
Attachment #413559 - Flags: approval1.9.2? → approval1.9.2+
http://hg.mozilla.org/mozilla-central/rev/abd62f4f05fb
http://hg.mozilla.org/releases/mozilla-1.9.2/rev/dbffc9cdb001
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
OS: Windows XP → All
Hardware: x86 → All
Resolution: --- → FIXED
Crash Signature: [@ txXPathNode::RootOf]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: