For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

[BUG] Uninitialized variable in XmlMDataStd_NamedDataDriver.cxx

Denis Barbier's picture

As Pawel noticed in this file contains several occurences of this pattern:

LDOM_Element* aCurElement;
if (aCurNode.isNull())
aCurNode = anElement.getFirstChild();
aCurNode = aCurElement->getNextSibling();

Of course, aCurElement is uninitialized in the else clause.

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.