cppcheck analysis of magnus_20060324-5.2.dsc
- ./back_end/AProducts/src/APofFreeGroupsRep.C:226 [error] - Mismatching allocation and deallocation: tmpName
- ./back_end/Elt/src/Word.C:226 [error] - Mismatching allocation and deallocation: buffer
- ./back_end/Elt/src/Word.C:485 [error] - Mismatching allocation and deallocation: buffer
- ./back_end/Elt/src/Word.C:516 [error] - Mismatching allocation and deallocation: buffer
- ./back_end/Enumerators/src/SubgroupEnumerator.C:66 [possible error] - Memory leak: a
- ./back_end/Equations/src/QEqnSolutions.C:1053 [error] - Mismatching allocation and deallocation: occurrences
- ./back_end/Equations/src/QEqnSolutions.C:1057 [error] - Mismatching allocation and deallocation: occurrences
- ./back_end/FSA/src/DFSAParser.C:113 [error] - Uninitialized variable: ch
- ./back_end/Group/src/SymmetricRelators.C:126 [error] - Returning reference to auto variable
- ./back_end/KB/src/DiffMachineRep.C:780 [error] - Memory leak: seen
- ./back_end/KB/src/DiffMachineRep.C:963 [error] - Memory leak: Lastv
- ./back_end/KB/src/DiffMachineRep.C:1019 [error] - Memory leak: seen
- ./back_end/KB/src/DiffMachineRep.C:1417 [possible error] - Memory leak: LastDhv
- ./back_end/KB/src/GenMultRep.C:82 [error] - Mismatching allocation and deallocation: genIndex
- ./back_end/KB/src/KBMachineRep.C:148 [error] - Mismatching allocation and deallocation: history
- ./back_end/KB/src/RKBPackage.C:92 [error] - Mismatching allocation and deallocation: command
- ./back_end/Packages/src/PackagesSMApps.C:479 [possible error] - Memory leak: smo
- ./back_end/Packages/src/PackagesSMApps.C:519 [possible error] - Memory leak: smo
- ./back_end/Packages/src/PackagesSMApps.C:543 [possible error] - Memory leak: smo
- ./back_end/Packages/src/PackagesSMApps.C:582 [possible error] - Memory leak: smo
- ./back_end/SMApps/src/AbelianProblems.C:963 [possible error] - Memory leak: smo
- ./back_end/SMApps/src/AbelianProblems.C:1831 [possible error] - Memory leak: smo
- ./back_end/SMApps/src/AbelianProblems.C:1919 [possible error] - Memory leak: smo
- ./back_end/SMApps/src/AbelianProblems.C:2693 [possible error] - Memory leak: smo
- ./back_end/SMApps/src/AbelianProblems.C:2757 [possible error] - Memory leak: smo
- ./back_end/SMApps/src/AbelianProblems.C:2859 [possible error] - Memory leak: smo
- ./back_end/SMApps/src/AbelianProblems.C:3144 [possible error] - Memory leak: smo
- ./back_end/SMApps/src/ExtendToHomProblem.C:544 [possible error] - Memory leak: smo
- ./back_end/SMApps/src/ExtendToHomProblem.C:550 [possible error] - Memory leak: smo
- ./back_end/SMApps/src/HNNProblems.C:71 [possible error] - Memory leak: smo
- ./back_end/SMApps/src/HNNProblems.C:87 [possible error] - Memory leak: smo
- ./back_end/SMApps/src/HNNProblems.C:198 [possible error] - Memory leak: smo
- ./back_end/SMApps/src/HNNProblems.C:212 [possible error] - Memory leak: smo
- ./back_end/SMApps/src/HNNProblems.C:228 [possible error] - Memory leak: smo
- ./back_end/SMApps/src/HNNProblems.C:301 [possible error] - Memory leak: smo
- ./back_end/SMApps/src/KernelPresentation.C:110 [possible error] - Memory leak: smo
- ./back_end/SMApps/src/KernelPresentation.C:364 [possible error] - Memory leak: smo1
- ./back_end/SMApps/src/KernelPresentation.C:396 [possible error] - Memory leak: smo3
- ./back_end/SMApps/src/MakeRandomPresentation.C:93 [possible error] - Memory leak: smo
- ./back_end/SMApps/src/NGSubgroupProblems.C:1242 [possible error] - Memory leak: smo
- ./back_end/SMApps/src/NGSubgroupProblems.C:1365 [possible error] - Memory leak: smo
- ./back_end/SMApps/src/NilpotentProblems.C:1167 [possible error] - Memory leak: smo
- ./back_end/SMApps/src/NilpotentProblems.C:1276 [possible error] - Memory leak: smo
- ./back_end/SMApps/src/OneRelatorProblems.C:126 [possible error] - Memory leak: smmap1
- ./back_end/SMApps/src/OneRelatorProblems.C:126 [possible error] - Memory leak: smmap2
- ./back_end/SMApps/src/OneRelatorProblems.C:221 [possible error] - Memory leak: embedding
- ./back_end/SMApps/src/OneRelatorProblems.C:324 [possible error] - Memory leak: HNN
- ./back_end/SMApps/src/OneRelatorProblems.C:324 [possible error] - Memory leak: ORG2HNN
- ./back_end/SMApps/src/OneRelatorProblems.C:324 [possible error] - Memory leak: HNN2ORG
- ./back_end/SMApps/src/OneRelatorProblems.C:324 [possible error] - Memory leak: basisGroup
- ./back_end/SMApps/src/OneRelatorProblems.C:324 [possible error] - Memory leak: BASIS2HNN
- ./back_end/SMApps/src/SMMagnusBreakdown.C:94 [possible error] - Memory leak: smo
- ./back_end/SMApps/src/SMMagnusBreakdown.C:147 [possible error] - Memory leak: smo
- ./back_end/SMApps/src/TTProblem.C:103 [error] - Buffer access out-of-bounds
- ./back_end/SMApps/src/fastProblems.C:228 [possible error] - Memory leak: smo
- ./back_end/SMApps/src/fastProblems.C:242 [possible error] - Memory leak: smo
- ./back_end/SMApps/src/fastProblems.C:260 [possible error] - Memory leak: smo
- ./back_end/SessionManager/src/BaseProperties.C:91 [error] - Uninitialized variable: relatorsCount
- ./back_end/SessionManager/src/BaseProperties.C:245 [error] - Uninitialized variable: relatorsCount
- ./back_end/SessionManager/src/DatabaseManager.C:935 [possible error] - Memory leak: G
- ./back_end/SessionManager/src/Property.C:80 [error] - Mismatching allocation and deallocation: buf
- ./back_end/SessionManager/src/Property.C:88 [error] - Mismatching allocation and deallocation: buf
- ./back_end/SessionManager/src/Property.C:102 [error] - Mismatching allocation and deallocation: buf
- ./back_end/SessionManager/src/Property.C:581 [error] - Mismatching allocation and deallocation: buf
- ./back_end/SessionManager/src/SMEnumerator.C:84 [error] - Buffer access out-of-bounds
- ./back_end/SessionManager/src/SMEnumerator.C:94 [error] - Buffer access out-of-bounds
- ./back_end/SessionManager/src/SMEnumerator.C:152 [error] - Buffer access out-of-bounds
- ./back_end/SessionManager/src/SMEnumerator.C:162 [error] - Buffer access out-of-bounds
- ./back_end/SessionManager/src/SessionManager.C:182 [error] - Mismatching allocation and deallocation: realBuffer
- ./back_end/Subgroup/src/DoubleCosetGraph.C:242 [possible error] - Memory leak: way
- ./back_end/Subgroup/src/SubgroupGraphRep.C:1474 [error] - Uninitialized variable: tableSize
- ./back_end/black_boxes/TietzeTrek/Fclasses/FResources.h:51 [possible error] - Memory leak: FResources::STR
- ./back_end/black_boxes/TietzeTrek/Fclasses/FtoolBox.C:115 [error] - Uninitialized variable: block
- ./back_end/black_boxes/TietzeTrek/Fclasses/FtoolBox.C:501 [error] - Uninitialized variable: cparam1
- ./back_end/black_boxes/TietzeTrek/GLvarSub/FpTree.C:186 [error] - Uninitialized variable: next
- ./back_end/black_boxes/TietzeTrek/GLvarSub/FuTree.C:35 [error] - Uninitialized variable: next
- ./back_end/black_boxes/TietzeTrek/TTdriverDebug/FTietzeDoc.h:17 [possible error] - Memory leak: FTietzeDoc::itsTietzeNode
- ./back_end/black_boxes/TietzeTrek/TTdriverDebug/TietzeTrek.C:68 [possible error] - Memory leak: TietzeDoc
- ./back_end/black_boxes/TietzeTrek/TTdriverDebug/hardTest.c:83 [possible error] - Memory leak: test
- ./back_end/black_boxes/TietzeTrek/pres/FrenumberPresNode.h:12 [possible error] - Memory leak: FrenumberPresNode::q
- ./back_end/black_boxes/TietzeTrek/pres/FstrToWordNode.h:22 [possible error] - Memory leak: FstrToWordNode::f
- ./back_end/black_boxes/homology/lib/2dimbdry.c:102 [error] - Memory leak: boundary_head
- ./back_end/black_boxes/homology/lib/2dimbdry.c:267 [error] - Memory leak: boundary_head
- ./back_end/black_boxes/homology/lib/2dimbdry.c:373 [error] - Memory leak: boundary_head
- ./back_end/black_boxes/homology/lib/2dimbdry.c:615 [error] - Memory leak: boundary_head
- ./back_end/black_boxes/homology/src/kbeqn/kbeqn2.c:825 [error] - Memory leak: elim
- ./back_end/black_boxes/homology/src/kbeqn/kbeqn2.c:825 [error] - Memory leak: ch
- ./back_end/black_boxes/kbmag/lib/fsa.c:1298 [error] - Memory leak: cword
- ./back_end/black_boxes/kbmag/lib/fsatriples.c:322 [possible error] - Resource leak: tempfile
- ./back_end/black_boxes/rkbp/source/vector.h:84 [error] - Class vector_long which is inherited by class vector_long_segment does not have a virtual destructor
- ./back_end/black_boxes/rkbp/source/rkbp.C:615 [possible error] - Dangerous usage of std::cin, possible buffer overrun
- ./back_end/black_boxes/rkbp/source/rkbp.C:532 [possible error] - Dangerous usage of std::cin, possible buffer overrun
- ./back_end/black_boxes/rkbp/source/rkbp.C:788 [possible error] - Dangerous usage of std::cin, possible buffer overrun
- ./back_end/black_boxes/rkbp/source/rkbp.C:453 [possible error] - Dangerous usage of std::cin, possible buffer overrun
- ./back_end/black_boxes/rkbp/source/rkbp.C:569 [possible error] - Dangerous usage of std::cin, possible buffer overrun
- ./back_end/black_boxes/rkbp/source/subsystm.C:3346 [possible error] - Dangerous usage of std::cin, possible buffer overrun
- ./back_end/black_boxes/rkbp/source/system.C:4073 [possible error] - Dangerous usage of std::cin, possible buffer overrun
- ./back_end/black_boxes/rkbp/source/system.C:4091 [possible error] - Dangerous usage of std::cin, possible buffer overrun
- ./back_end/black_boxes/rkbp/source/system.C:4108 [possible error] - Dangerous usage of std::cin, possible buffer overrun
- ./back_end/black_boxes/rkbp/source/system.C:4134 [possible error] - Dangerous usage of std::cin, possible buffer overrun
- ./back_end/black_boxes/rkbp/source/system.C:4650 [possible error] - Dangerous usage of std::cin, possible buffer overrun
- ./back_end/black_boxes/rkbp/source/system.C:4601 [possible error] - Dangerous usage of std::cin, possible buffer overrun
- ./back_end/black_boxes/rkbp/source/system.C:4627 [possible error] - Dangerous usage of std::cin, possible buffer overrun
- ./back_end/black_boxes/tc5/main.c:733 [error] - Invalid deallocation
- ./back_end/black_boxes/tc5/save_ct.c:47 [error] - Returning pointer to local array variable
- ./back_end/black_boxes/tc5/save_ct.c:151 [error] - Returning pointer to local array variable
- ./back_end/general/src/Chars.C:369 [error] - Mismatching allocation and deallocation: buf
- ./back_end/general/src/Chars.C:405 [error] - Mismatching allocation and deallocation: res
- ./back_end/KB/include/WordOrderRep.h:517 [error] - Uninitialized variable: w1
- ./back_end/KB/include/WordOrderRep.h:834 [error] - Uninitialized variable: w1
- ./back_end/general/test/debug-Set.C:78 [error] - Mismatching allocation and deallocation: tmp
- ./back_end/general/test/test-Set.C:205 [error] - Mismatching allocation and deallocation: tmp
- ./corrected-main.c:731 [error] - Invalid deallocation
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 05:54:50 +0000, based on results by cppcheck 1.41-modif