Closed Bug 333668 Opened 14 years ago Closed 14 years ago
Dereferencing uninitialized lastnode in ns
XULTemplate Query Processor RDF::Compile Query
If mSimpleRuleMemberTest evaluates to true we'll end up with |lastnode| being a dangling pointer.
Oh, and we'll do NS_FAILED(rv) on an uninitialized rv.
Comment on attachment 237139 [details] [diff] [review] Add asserttion and return an error Please also initialize |lastnode| to nsnull. It's not going to cost anything and is more future-proof
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.