View Issue Details

IDProjectCategoryView StatusLast Update
0030984Open CASCADEOCCT:Foundation Classespublic2023-08-01 15:08
ReporterabvAssigned Toabv 
PrioritynormalSeverityminor 
Status newResolutionopen 
Product Version7.5.0 
Target VersionUnscheduled 
Summary0030984: Foundation Classes - possible use of NULL pointer in TColStd_PackedMapOfInteger::Differ()
DescriptionMSVC 2019 Code Analysis tool reports possible use of NULL pointer in TColStd_PackedMapOfInteger::Differ():

        TColStd_intMapNode** aData = NULL;
        if (p1 == 0L) {
          if (Resizable()) {
            ReSize(InternalExtent());
            aData = (TColStd_intMapNode**) myData1;
          }
          const Standard_Integer aHashCode = p2->HashCode (NbBuckets());
          aData[aHashCode]= new TColStd_intMapNode (p2->Mask(), p2->Data(),
                                                    aData[aHashCode]);
TagsNo tags attached.
Test case number

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-09-20 06:56 abv New Issue
2019-09-20 06:56 abv Assigned To => abv
2020-09-11 16:13 utverdov Target Version 7.5.0 => 7.6.0
2021-09-20 10:45 kgv Product Version => 7.5.0
2021-09-20 10:45 kgv Target Version 7.6.0 => 7.7.0
2022-10-24 10:40 szy Target Version 7.7.0 => 7.8.0
2023-08-01 15:08 dpasukhi Target Version 7.8.0 => Unscheduled