View Issue Details

IDProjectCategoryView StatusLast Update
0023033Open CASCADEOCCT:Foundation Classespublic2012-03-29 17:26
ReporterdbvAssigned Todbv 
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Target Version6.5.3Fixed in Version6.5.3 
Summary0023033: Standard_MMgrOpt::Reallocate behavior must be similar to "realloc"
DescriptionIf NULL pointer has been passed in Standard_MMgrOpt::Reallocate it should allocate new memory block instead of raising exception.
TagsNo tags attached.
Test case numberTest case is not required

Relationships

related to 0013261 closedilv Ensure correct allocation/deallocation of memory blocks of size 0 

Activities

dbv

2012-03-21 15:27

developer   ~0020066

Standard_MMgrOpt::Reallocate has been modified to allocate new memory block if NULL pointer has been passed.

Git branch CR23033 is ready to be reviewed.

Dear Andrey,
Please review.

abv

2012-03-21 16:16

manager   ~0020068

No remarks, please test

apn

2012-03-22 17:13

administrator   ~0020103

Last edited: 2012-03-22 17:42

Dear BugMaster,
     Workbench KAS:dev:apn-23033-occt was created from git branch CR23033 (and apn-23033-products from svn trunk) and compiled on Linux platform.
   
     There are not regressions in apn-23033-products regarding to KAS:dev:products-20120316-opt
     
     See results in /QADisk/occttests/results/KAS/dev/apn-23033-products_22032012/lin
     See reference results in /QADisk/occttests/results/KAS/dev/products-20120316-opt_17032012/lin
     See test cases in /QADisk/occttests/tests/ED

bugmaster

2012-03-27 16:29

administrator   ~0020166

Integrated into master

Related Changesets

occt: master cf9a910a

2012-03-21 11:16:30

dbv

Details Diff
0023033: Standard_MMgrOpt::Reallocate behavior must be similar to "realloc"

Changes :
Standard_MMgrOpt::Reallocate has been modified to allocate new memory block if NULL pointer has been passed.
Affected Issues
0023033
mod - src/Standard/Standard_MMgrOpt.cxx Diff File
mod - src/Standard/Standard_MMgrOpt.hxx Diff File

Issue History

Date Modified Username Field Change
2012-03-21 14:24 dbv New Issue
2012-03-21 14:24 dbv Assigned To => dbv
2012-03-21 14:42 abv Status new => assigned
2012-03-21 14:44 abv Relationship added related to 0013261
2012-03-21 15:27 dbv Note Added: 0020066
2012-03-21 15:27 dbv Assigned To dbv => abv
2012-03-21 15:27 dbv Status assigned => resolved
2012-03-21 16:16 abv Note Added: 0020068
2012-03-21 16:16 abv Assigned To abv => dbv
2012-03-21 16:16 abv Status resolved => reviewed
2012-03-21 16:41 apn Assigned To dbv => apn
2012-03-22 17:13 apn Note Added: 0020103
2012-03-22 17:15 apn Test case number => Test case is not required
2012-03-22 17:15 apn Assigned To apn => dbv
2012-03-22 17:15 apn Status reviewed => assigned
2012-03-22 17:36 apn Note Edited: 0020103
2012-03-22 17:42 apn Note Edited: 0020103
2012-03-22 17:42 apn Assigned To dbv => bugmaster
2012-03-22 17:42 apn Status assigned => resolved
2012-03-22 17:42 apn Status resolved => reviewed
2012-03-22 17:43 apn Status reviewed => tested
2012-03-22 19:23 bugmaster Target Version => 6.5.3
2012-03-27 16:29 bugmaster Note Added: 0020166
2012-03-27 16:29 bugmaster Status tested => verified
2012-03-27 16:29 bugmaster Resolution open => fixed
2012-03-27 16:29 bugmaster Assigned To bugmaster => dbv
2012-03-29 17:26 dbv Changeset attached => occt master cf9a910a