Closed Bug 1338156 Opened 3 years ago Closed 3 years ago
Add missing initialisation of DOMParser::m
Original Principle Was System
This is fallout from bug 1336213. That added a field DOMParser::mOriginalPrincipleWasSystem but only initialised it in one of the two constructors for the class. Use of the uninitialised field is easily observed with Valgrind, from example on dom/xslt/tests/mochitest/test_bug427060.html.
The obvious fix.
Attachment #8835528 - Flags: review?(bzbarsky)
Thanks for the quick fix!
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/d22eeada4c35 Add missing initialisation of DOMParser::mOriginalPrincipleWasSystem. r=ehsan.
You need to log in before you can comment on or make changes to this bug.