cppcheck analysis of magnus_20060324-5.2.dsc
- ./back_end/AProducts/src/APofFreeGroupsRep.C:226 [error] - Mismatching allocation and deallocation: tmpName
- ./back_end/AProducts/src/ShortenByRelators2.C:86 [error] - Memory leak: tmpbuf
- ./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 [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/FSA/src/DFSARep.C:601 [error] - Uninitialized variable: k
- ./back_end/Genetic/src/GAEquationSolver.C:507 [error] - Possible null pointer dereference: out - otherwise it is redundant to check if out is null at line 508
- ./back_end/Genetic/src/TwoCommSolver.C:408 [error] - Memory leak: M
- ./back_end/Genetic/test/HNC.C:43 [error] - Uninitialized variable: pop1
- ./back_end/Genetic/test/HNC.C:44 [error] - Uninitialized variable: pop2
- ./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 [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/SMApps/src/TTProblem.C:103 [error] - Buffer access out-of-bounds: s
- ./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/Menu.C:79 [error] - Memory leak: smo
- ./back_end/SessionManager/src/Menu.C:100 [error] - Memory leak: smo
- ./back_end/SessionManager/src/Menu.C:127 [error] - Memory leak: smo
- ./back_end/SessionManager/src/Menu.C:157 [error] - Memory leak: smo
- ./back_end/SessionManager/src/Menu.C:192 [error] - Memory leak: smo
- ./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/DecomposeInSubgroup.C:176 [error] - Uninitialized variable: k
- ./back_end/Subgroup/src/DecomposeInSubgroup.C:218 [error] - Uninitialized variable: numberOfNielsens
- ./back_end/Subgroup/src/DecomposeInSubgroup.C:681 [error] - Uninitialized variable: c
- ./back_end/Subgroup/src/DecomposeInSubgroup.C:700 [error] - Uninitialized variable: e
- ./back_end/Subgroup/src/DecomposeInSubgroup.C:719 [error] - Uninitialized variable: nc
- ./back_end/Subgroup/src/DecomposeInSubgroup.C:738 [error] - Uninitialized variable: ncinold
- ./back_end/Subgroup/src/DecomposeInSubgroup.C:757 [error] - Uninitialized variable: neinold
- ./back_end/Subgroup/src/DoubleCosetGraph.C:242 [error] - Memory leak: way
- ./back_end/Subgroup/src/SubgroupGraphRep.C:1474 [error] - Uninitialized variable: tableSize
- ./back_end/Subgroup/src/SubgroupGraphRep.C:1480 [error] - Uninitialized variable: j
- ./back_end/Subgroup/src/SubgroupGraphRep.C:1572 [error] - Uninitialized variable: j
- ./back_end/Subgroup/src/SubgroupGraphRep.C:1608 [error] - Uninitialized variable: k
- ./back_end/black_boxes/ace/control.c:1022 [error] - Common realloc mistake: "dedrow" nulled but not freed upon failure
- ./back_end/black_boxes/ace/control.c:1023 [error] - Common realloc mistake: "dedcol" nulled but not freed upon failure
- ./back_end/black_boxes/ace/parser.c:342 [error] - Common realloc mistake: "currword" nulled but not freed upon failure
- ./back_end/black_boxes/ace/util0.c:560 [error] - Common realloc mistake: "dedrow" nulled but not freed upon failure
- ./back_end/black_boxes/ace/util0.c:561 [error] - Common realloc mistake: "dedcol" nulled but not freed upon failure
- ./back_end/black_boxes/ace/util1.c:658 [error] - Common realloc mistake: "currrep" nulled but not freed upon failure
- ./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/lib/grpinput.c:207 [error] - Memory leak: word
- ./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 [error] - Resource leak: tempfile
- ./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:199 [error] - Mismatching allocation and deallocation: str
- ./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/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 Mon, 20 Dec 2010 21:16:54 +0000, based on results by cppcheck 1.46