calling nextAttribute before first tag uses uninited variables
(cherry picked from commit c5818e929c7b608ccc3277f1204b491e426925de) Signed-off-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
@@ -115,6 +115,7 @@ XmlReader::XmlReader(rtl::OUString const & fileUrl)
|
|||||||
pos_ = static_cast< char * >(fileAddress_);
|
pos_ = static_cast< char * >(fileAddress_);
|
||||||
end_ = pos_ + fileSize_;
|
end_ = pos_ + fileSize_;
|
||||||
state_ = STATE_CONTENT;
|
state_ = STATE_CONTENT;
|
||||||
|
firstAttribute_ = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
XmlReader::~XmlReader() {
|
XmlReader::~XmlReader() {
|
||||||
|
Reference in New Issue
Block a user