View Issue Details

IDProjectCategoryView StatusLast Update
0033035Open CASCADEOCCT:Codingpublic2023-08-01 15:09
Reporteralukin Assigned Toalukin  
PrioritynormalSeverityintegration request 
Status newResolutionopen 
Product Version7.6.0 
Target VersionUnscheduled 
Summary0033035: Coding - collect and fix CppCheck issues - warnings
DescriptionCheck potential issues and fix them if necessary.
OCCT revision: 63fa56bc83f2f366068fd2e67fce3ea4ff0c5ee3

In 33024.xlsx (Sheet tab) the following warnings:
1.
- funcArgOrderDifferent
- identicalConditionAfterEarlyExit
- identicalInnerCondition
- incorrectLogicOperator
- integerOverflowCond
- negativeIndex
- nullPointer
- nullPointerArithmeticRedundantCheck
- nullPointerRedundantCheck
- operatorEqToSelf
- oppositeInnerCondition
- uninitDerivedMemberVar
- uninitMemberVar
- uninitMemberVarPrivate
2.
allocaCalled
arrayIndexOutOfBoundsCond
constStatement
ctunullpointer
duplInheritedMember
noCopyConstructor
noOperatorEq
objectIndex
operatorEqVarError
pointerSize
publicAllocationError
uselessAssignmentPtrArg
Steps To ReproduceN/A
TagsNo tags attached.
Test case number

Attached Files

  • 33024.xlsx (1,620,697 bytes)

Relationships

child of 0033024 assigneddpasukhi Coding - collect and fix CppCheck issues 

Activities

alukin

2022-06-27 20:17

developer   ~0109297

33024.xlsx (1,620,697 bytes)

git

2022-06-30 16:00

administrator   ~0109427

Branch CR33035 has been created by alukin.

SHA-1: 9b5f0c2c0858225d12e9c3b1ac8c5cbb8fa7f15d


Detailed log of new commits:

Author: aln
Date: Thu Jun 30 16:00:34 2022 +0300

    Fixed warnings
    - arrayIndexOutOfBoundsCond
    - nullPointer

alukin

2022-06-30 16:01

developer   ~0109428

allocaCalled - ignored

arrayIndexOutOfBoundsCond
src\src\BinLDrivers\BinLDrivers_DocumentSection.cxx (233) - fixed
src\src\IFSelect\IFSelect_SessionPilot.cxx (117, 120) - fixed
src\src\Message\Message_CompositeAlerts.cxx (31, 44, 73, 108, 138) - no bugs
src\src\OpenGl\OpenGl_ShaderManager.cxx (1256) - no bugs
src\src\OSD\OSD_PerfMeter.cxx (145) - fixed

ctunullpointer - ignored

nullPointer
src\src\ExprIntrp\lex.ExprIntrp.c (1757) - fixed
src\src\StepFile\lex.step.cxx (1781, 1782) - fixed

Issue History

Date Modified Username Field Change
2022-06-27 15:22 alukin New Issue
2022-06-27 15:22 alukin Assigned To => alukin
2022-06-27 15:22 alukin Issue generated from: 0033024
2022-06-27 15:22 alukin Relationship added parent of 0033024
2022-06-27 15:33 alukin File Deleted: 33024.zip
2022-06-27 16:04 alukin Description Updated
2022-06-27 16:05 alukin Description Updated
2022-06-27 16:06 alukin Description Updated
2022-06-27 16:20 alukin Description Updated
2022-06-27 16:49 alukin File Deleted: 33024.csv
2022-06-27 20:17 alukin Note Added: 0109297
2022-06-27 20:17 alukin File Added: 33024.xlsx
2022-06-27 20:43 alukin Description Updated
2022-06-28 08:59 azv Relationship deleted parent of 0033024
2022-06-28 08:59 azv Relationship added child of 0033024
2022-06-30 16:00 git Note Added: 0109427
2022-06-30 16:01 alukin Note Added: 0109428
2022-08-17 12:01 kgv Target Version 7.7.0 => 7.8.0
2023-08-01 15:09 dpasukhi Target Version 7.8.0 => Unscheduled