Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
1.6.0
-
None
-
Operating System: All
Platform: All
-
8769
Description
When using "Purify 2002a.06.00" on "SunOS 5.7" a I got UMR (unitialized memory
read). After further investigations I found that the variable curType
DTDScanner::scanChildren is used on lines 1267 and 1319 without having been
initialized.
I corrected the defect by initializing curType on line 1177 to
ContentSpecNode::UnknownType, as by the diff output below.
1177c1177
< ContentSpecNode::NodeTypes curType;
—
> ContentSpecNode::NodeTypes curType = ContentSpecNode::UnknownType;
After this change Purify did not report any UMR.