View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0030984 | Open CASCADE | OCCT:Foundation Classes | public | 2019-09-20 06:56 | 2021-09-20 10:45 |
Reporter | abv | Assigned To | abv | ||
Priority | normal | Severity | minor | ||
Status | new | Resolution | open | ||
Product Version | 7.5.0 | ||||
Target Version | 7.7.0 | ||||
Summary | 0030984: Foundation Classes - possible use of NULL pointer in TColStd_PackedMapOfInteger::Differ() | ||||
Description | MSVC 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]); | ||||
Tags | No tags attached. | ||||
Test case number | |||||