MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0029769Community[OCCT] OCCT:Foundation Classespublic2018-05-14 23:012018-05-14 23:01
ReporterAaron Michalk 
Assigned Toabv 
PrioritynormalSeveritycrash 
StatusnewResolutionopen 
PlatformVC++ 2017 64 bitOSWindowsOS Version10
Product Version[OCCT] 7.2.0 
Target VersionFixed in Version 
Summary0029769: Uninitialized data with BSplCLib_Cache, BSplSLib_Cache
DescriptionUsing malloc instead of calloc results in accessing invalid memory when evaluating spline cache. This is due to uninitialized data.
Steps To ReproduceSet MMGT_CLEAR to false (use malloc instead of calloc in Standard.cxx).
Exercise the spline evaluation caching.
Additional information
and documentation updates
Copying the member variable initialization from the default constructor to the other constructors of BSplCLib_Cache, BSplSLib_Cache fixes the problem.
TagsNo tags attached.
Test case number
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2018-05-14 23:01 Aaron Michalk New Issue
2018-05-14 23:01 Aaron Michalk Assigned To => abv


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker