Closed Bug 88736 Opened 24 years ago Closed 24 years ago

FilterExpr needs to check result type before casting.

Categories

(Core :: XSLT, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.0

People

(Reporter: sicking, Assigned: sicking)

Details

Attachments

(2 files)

FilterExpr::evaluate and FilterExpr::matches needs to check if the ExprResult returned from expr is a nodeset before casting. Otherwise we'll crash on expressions like "9[false()]" Patch coming up... (I've snuck in a small bugfix aswell, the nodeset needs to be sorted before it's filtered, see axes14 test)
r=peterv if you accept the bug and set the milestone and the priority.
Status: NEW → ASSIGNED
Whiteboard: have r=peterv, need sr=
Target Milestone: --- → mozilla1.0
sr=jst
checked in
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Whiteboard: have r=peterv, need sr=
We don't crash any more on stuff like "(2)[1]"
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: