cppcheck analysis of rsymphony_0.1-12-1.dsc
- ./src/SYMPHONY/Cgl/src/CglClique/CglClique.hpp:151 [error] - Memory leak: CglClique::node_node
- ./src/SYMPHONY/Cgl/src/CglLandP/CglLandPSimplex.cpp:67 [error] - Invalid number of character ({) when these macros are defined: 'COIN_USE_XPR'.
- ./src/SYMPHONY/Cgl/src/CglLiftAndProject/CglLiftAndProject.cpp:291 [error] - Uninitialized variable: sum
- ./src/SYMPHONY/Cgl/src/CglOddHole/CglOddHole.cpp:223 [error] - Common realloc mistake: "cost" nulled but not freed upon failure
- ./src/SYMPHONY/Cgl/src/CglOddHole/CglOddHole.cpp:224 [error] - Common realloc mistake: "to" nulled but not freed upon failure
- ./src/SYMPHONY/Cgl/src/CglOddHole/CglOddHole.cpp:225 [error] - Common realloc mistake: "rowfound" nulled but not freed upon failure
- ./src/SYMPHONY/Cgl/src/CglOddHole/CglOddHole.cpp:275 [error] - Common realloc mistake: "cost" nulled but not freed upon failure
- ./src/SYMPHONY/Cgl/src/CglOddHole/CglOddHole.cpp:276 [error] - Common realloc mistake: "to" nulled but not freed upon failure
- ./src/SYMPHONY/Cgl/src/CglOddHole/CglOddHole.cpp:277 [error] - Common realloc mistake: "rowfound" nulled but not freed upon failure
- ./src/SYMPHONY/Cgl/src/CglOddHole/CglOddHole.cpp:556 [error] - Common realloc mistake: "hash" nulled but not freed upon failure
- ./src/SYMPHONY/Cgl/src/CglPreProcess/CglPreProcess.cpp:1006 [error] - Memory leak: rowBlock
- ./src/SYMPHONY/Cgl/src/CglPreProcess/CglPreProcess.cpp:1006 [error] - Memory leak: stack
- ./src/SYMPHONY/Cgl/src/CglPreProcess/CglPreProcess.cpp:1006 [error] - Memory leak: columnBlock
- ./src/SYMPHONY/Cgl/src/CglProbing/CglProbing.cpp:1292 [error] - Deallocating a deallocated pointer: rowLower
- ./src/SYMPHONY/Cgl/src/CglProbing/CglProbing.cpp:1293 [error] - Deallocating a deallocated pointer: rowUpper
- ./src/SYMPHONY/Cgl/src/CglProbing/CglProbing.cpp:8523 [error] - Memory leak: tempL
- ./src/SYMPHONY/Cgl/src/CglProbing/CglProbing.cpp:8523 [error] - Memory leak: tempU
- ./src/SYMPHONY/Cgl/src/CglProbing/CglProbing.cpp:8523 [error] - Memory leak: markC
- ./src/SYMPHONY/Cgl/src/CglProbing/CglProbing.cpp:8523 [error] - Memory leak: stackC
- ./src/SYMPHONY/Cgl/src/CglProbing/CglProbing.cpp:8523 [error] - Memory leak: stackR
- ./src/SYMPHONY/Cgl/src/CglProbing/CglProbing.cpp:8523 [error] - Memory leak: saveMin
- ./src/SYMPHONY/Cgl/src/CglProbing/CglProbing.cpp:8523 [error] - Memory leak: saveMax
- ./src/SYMPHONY/Cgl/src/CglProbing/CglProbing.cpp:8523 [error] - Memory leak: stackC0
- ./src/SYMPHONY/Cgl/src/CglTwomir/CglTwomir.cpp:687 [error] - Memory leak: value
- ./src/SYMPHONY/Clp/examples/piece.cpp:270 [error] - Memory leak: saveSol
- ./src/SYMPHONY/Clp/examples/testGub.cpp:444 [error] - Memory leak: rowIsGub
- ./src/SYMPHONY/Clp/examples/testGub.cpp:432 [error] - Memory leak: rowStatus
- ./src/SYMPHONY/Clp/examples/testGub2.cpp:388 [error] - Memory leak: rowIsGub
- ./src/SYMPHONY/Clp/examples/testGub2.cpp:375 [error] - Memory leak: rowStatus
- ./src/SYMPHONY/Clp/src/CbcOrClpParam.cpp:3354 [error] - Memory leak: temp
- ./src/SYMPHONY/Clp/src/CbcOrClpParam.cpp:3419 [error] - Resource leak: fp
- ./src/SYMPHONY/Clp/src/ClpConstraintLinear.cpp:169 [error] - Memory leak: deleted
- ./src/SYMPHONY/Clp/src/ClpConstraintQuadratic.cpp:225 [error] - Memory leak: deleted
- ./src/SYMPHONY/Clp/src/ClpFactorization.cpp:2688 [error] - Invalid number of character ({) when these macros are defined: 'SLIM_CLP'.
- ./src/SYMPHONY/Clp/src/ClpGubMatrix.cpp:435 [error] - Memory leak: array
- ./src/SYMPHONY/Clp/src/ClpNetworkMatrix.cpp:750 [error] - Memory leak: which
- ./src/SYMPHONY/Clp/src/ClpNetworkMatrix.cpp:791 [error] - Memory leak: which
- ./src/SYMPHONY/Clp/src/ClpNetworkMatrix.cpp:1259 [error] - Memory leak: which
- ./src/SYMPHONY/Clp/src/ClpNode.cpp:1070 [error] - Memory leak: newHash
- ./src/SYMPHONY/Clp/src/ClpNode.cpp:1100 [error] - Memory leak: newHash
- ./src/SYMPHONY/Clp/src/ClpPackedMatrix.cpp:4030 [error] - Memory leak: mark
- ./src/SYMPHONY/Clp/src/ClpPlusMinusOneMatrix.cpp:303 [error] - Memory leak: newRow
- ./src/SYMPHONY/Clp/src/ClpPlusMinusOneMatrix.cpp:303 [error] - Memory leak: duplicateRow
- ./src/SYMPHONY/Clp/src/ClpPlusMinusOneMatrix.cpp:1124 [error] - Memory leak: which
- ./src/SYMPHONY/Clp/src/ClpPlusMinusOneMatrix.cpp:1184 [error] - Memory leak: which
- ./src/SYMPHONY/Clp/src/ClpPlusMinusOneMatrix.cpp:1406 [error] - Memory leak: countPositive
- ./src/SYMPHONY/Clp/src/ClpPlusMinusOneMatrix.cpp:1406 [error] - Memory leak: countNegative
- ./src/SYMPHONY/Clp/src/ClpSimplex.cpp:6449 [error] - Memory leak: array
- ./src/SYMPHONY/Clp/src/ClpSimplex.cpp:6602 [error] - Memory leak: elements
- ./src/SYMPHONY/Clp/src/ClpSimplex.cpp:6602 [error] - Memory leak: indices
- ./src/SYMPHONY/Clp/src/ClpSimplex.cpp:6602 [error] - Memory leak: starts
- ./src/SYMPHONY/Clp/src/ClpSimplex.cpp:6602 [error] - Memory leak: lengths
- ./src/SYMPHONY/Clp/src/ClpSimplexPrimal.cpp:425 [error] - Memory leak: whichColumns
- ./src/SYMPHONY/Clp/src/ClpSimplexPrimal.cpp:425 [error] - Memory leak: weight
- ./src/SYMPHONY/Clp/src/ClpSimplexPrimal.cpp:3533 [error] - Memory leak: whichColumns
- ./src/SYMPHONY/Clp/src/ClpSimplexPrimal.cpp:3533 [error] - Memory leak: weight
- ./src/SYMPHONY/Clp/src/ClpSolve.cpp:2204 [error] - Possible null pointer dereference: model2 - otherwise it is redundant to check if model2 is null at line 2206
- ./src/SYMPHONY/Clp/src/ClpSolve.cpp:267 [error] - Memory leak: rhs
- ./src/SYMPHONY/CoinUtils/src/CoinLpIO.cpp:1547 [error] - Memory leak: start
- ./src/SYMPHONY/CoinUtils/src/CoinLpIO.cpp:1547 [error] - Memory leak: rhs
- ./src/SYMPHONY/CoinUtils/src/CoinLpIO.cpp:1547 [error] - Memory leak: rowlow
- ./src/SYMPHONY/CoinUtils/src/CoinLpIO.cpp:1547 [error] - Memory leak: rowup
- ./src/SYMPHONY/CoinUtils/src/CoinLpIO.cpp:1854 [error] - Memory leak: ind
- ./src/SYMPHONY/CoinUtils/src/CoinLpIO.cpp:1869 [error] - Memory leak: obj
- ./src/SYMPHONY/CoinUtils/src/CoinModelUseful2.cpp:797 [error] - Memory leak: ptr
- ./src/SYMPHONY/Osi/src/OsiDylp/OsiDylpSolverInterface.cpp:742 [error] - Possible null pointer dereference: dst
- ./src/SYMPHONY/Osi/test/OsiCbcSolverInterfaceTest.cpp:865 [error] - Allocation with fopen, if doesn't release it.
- ./src/SYMPHONY/Osi/test/OsiClpSolverInterfaceTest.cpp:917 [error] - Allocation with fopen, if doesn't release it.
- ./src/SYMPHONY/SYMPHONY/Applications/CNRP/src/Common/network.c:296 [error] - Uninitialized variable: nv0
- ./src/SYMPHONY/SYMPHONY/Applications/CNRP/src/CutGen/tsp.c:286 [error] - Memory leak: sel
- ./src/SYMPHONY/SYMPHONY/Applications/CNRP/src/LP/cnrp_lp.c:1272 [error] - Common realloc mistake: "matind" nulled but not freed upon failure
- ./src/SYMPHONY/SYMPHONY/Applications/CNRP/src/LP/cnrp_lp_branch.c:284 [error] - Memory leak: userind
- ./src/SYMPHONY/SYMPHONY/Applications/MATCH/src/Master/user_main.c:108 [error] - Resource leak: f
- ./src/SYMPHONY/SYMPHONY/Applications/MPP/src/LP/mpp_lp.c:272 [error] - Common realloc mistake: "matind" nulled but not freed upon failure
- ./src/SYMPHONY/SYMPHONY/Applications/SPP+CUTS/src/LP/spp_lp_functions.c:340 [error] - Uninitialized variable: p
- ./src/SYMPHONY/SYMPHONY/Applications/VRP/src/CutGen/Decomp/decomp_lower_bound.c:398 [error] - Memory leak: degrees
- ./src/SYMPHONY/SYMPHONY/Applications/VRP/src/CutGen/Decomp/my_decomp_user.c:1190 [error] - Memory leak: route
- ./src/SYMPHONY/SYMPHONY/Applications/VRP/src/CutGen/Decomp/my_decomp_user.c:2136 [error] - Memory leak: nonzeros
- ./src/SYMPHONY/SYMPHONY/Applications/VRP/src/CutGen/Decomp/my_decomp_user.c:2740 [error] - Memory leak: new_row_number
- ./src/SYMPHONY/SYMPHONY/Applications/VRP/src/CutGen/Decomp/my_decomp_user.c:2740 [error] - Memory leak: indicators
- ./src/SYMPHONY/SYMPHONY/Applications/VRP/src/CutGen/tsp.c:286 [error] - Memory leak: sel
- ./src/SYMPHONY/SYMPHONY/Applications/VRP/src/CutGen/vrp_cg.c:456 [error] - Memory leak: compdemands_copy
- ./src/SYMPHONY/SYMPHONY/Applications/VRP/src/CutGen/vrp_cg.c:456 [error] - Memory leak: compcuts_copy
- ./src/SYMPHONY/SYMPHONY/Applications/VRP/src/LP/vrp_lp.c:600 [error] - Common realloc mistake: "matind" nulled but not freed upon failure
- ./src/SYMPHONY/SYMPHONY/Applications/VRP/src/LP/vrp_lp.c:1264 [error] - Memory leak: lhs_totals
- ./src/SYMPHONY/SYMPHONY/Applications/VRP/src/LP/vrp_lp_branch.c:182 [error] - Memory leak: userind
- ./src/SYMPHONY/SYMPHONY/Applications/VRP/src/Master/Heuristics/receive_rout.c:109 [error] - Memory leak: returned
- ./src/SYMPHONY/SYMPHONY/Applications/VRP/src/Master/vrp_main.c:293 [error] - Memory leak: input_dir
- ./src/SYMPHONY/SYMPHONY/Applications/VRP/src/Master/vrp_main.c:293 [error] - Memory leak: infile
- ./src/SYMPHONY/SYMPHONY/Applications/VRP/src/Master/vrp_main.c:293 [error] - Memory leak: sgfile
- ./src/SYMPHONY/SYMPHONY/Applications/VRP/src/Master/vrp_master.c:746 [error] - Memory leak: coef
- ./src/SYMPHONY/SYMPHONY/src/DrawGraph/draw_graph.c:1117 [error] - Memory leak: new_win
- ./src/SYMPHONY/SYMPHONY/src/LP/lp_branch.c:832 [error] - Memory leak: objval
- ./src/SYMPHONY/SYMPHONY/src/LP/lp_branch.c:832 [error] - Memory leak: pobj
- ./src/SYMPHONY/SYMPHONY/src/LP/lp_branch.c:832 [error] - Memory leak: termcode
- ./src/SYMPHONY/SYMPHONY/src/LP/lp_branch.c:832 [error] - Memory leak: pterm
- ./src/SYMPHONY/SYMPHONY/src/LP/lp_branch.c:832 [error] - Memory leak: feasible
- ./src/SYMPHONY/SYMPHONY/src/LP/lp_branch.c:832 [error] - Memory leak: pfeas
- ./src/SYMPHONY/SYMPHONY/src/LP/lp_branch.c:832 [error] - Memory leak: iterd
- ./src/SYMPHONY/SYMPHONY/src/LP/lp_branch.c:832 [error] - Memory leak: piter
- ./src/SYMPHONY/SYMPHONY/src/LP/lp_branch.c:832 [error] - Memory leak: frnum
- ./src/SYMPHONY/SYMPHONY/src/LP/lp_branch.c:832 [error] - Memory leak: pfrnum
- ./src/SYMPHONY/SYMPHONY/src/LP/lp_proccomm.c:813 [error] - Undefined behaviour: reason is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./src/SYMPHONY/SYMPHONY/src/LP/lp_proccomm.c:815 [error] - Undefined behaviour: reason is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./src/SYMPHONY/SYMPHONY/src/LP/lp_proccomm.c:829 [error] - Undefined behaviour: reason is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./src/SYMPHONY/SYMPHONY/src/LP/lp_solver.c:1316 [error] - Memory leak: which
- ./src/SYMPHONY/SYMPHONY/src/LP/lp_wrapper.c:289 [error] - Memory leak: userind
- ./src/SYMPHONY/SYMPHONY/src/Master/master.c:3165 [error] - Memory leak: colsol
- ./src/SYMPHONY/SYMPHONY/src/Master/master.c:4108 [error] - Memory leak: matBeg
- ./src/SYMPHONY/SYMPHONY/src/Master/master.c:4108 [error] - Memory leak: matInd
- ./src/SYMPHONY/SYMPHONY/src/Master/master.c:4173 [error] - Memory leak: lengths
- ./src/SYMPHONY/SYMPHONY/src/Master/master.c:4173 [error] - Memory leak: matVal
- ./src/SYMPHONY/SYMPHONY/src/Master/master.c:4480 [error] - Memory leak: new_rows
- ./src/SYMPHONY/SYMPHONY/src/Master/master_prep_base.c:3244 [error] - Memory leak: row_coef_bin_cnt
- ./src/SYMPHONY/SYMPHONY/src/Master/master_prep_base.c:3244 [error] - Memory leak: row_sign_pos_cnt
- ./src/SYMPHONY/SYMPHONY/src/Master/master_prep_base.c:3244 [error] - Memory leak: rows_integerized_var_ind
- ./src/SYMPHONY/SYMPHONY/src/Master/master_prep_base.c:3244 [error] - Memory leak: mip_inf
- ./src/SYMPHONY/SYMPHONY/src/Master/master_prep_base.c:3244 [error] - Memory leak: cols
- ./src/SYMPHONY/SYMPHONY/src/Master/master_prep_base.c:3244 [error] - Memory leak: rows
- ./src/SYMPHONY/SYMPHONY/src/Master/master_prep_base.c:4137 [error] - Memory leak: row_new_inds
- ./src/SYMPHONY/SYMPHONY/src/TreeManager/tm_func.c:1714 [error] - Resource leak: f
- ./src/SYMPHONY/SYMPHONY/src/TreeManager/tm_func.c:3033 [error] - Memory leak: children
- ./src/SYMPHONY/SYMPHONY/src/TreeManager/tm_func.c:1146 [error] - Undefined behaviour: reason is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./src/SYMPHONY/SYMPHONY/src/TreeManager/tm_func.c:1148 [error] - Undefined behaviour: reason is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./src/SYMPHONY/SYMPHONY/src/TreeManager/tm_func.c:1582 [error] - Undefined behaviour: reason is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./src/SYMPHONY/SYMPHONY/src/TreeManager/tm_func.c:1596 [error] - Undefined behaviour: reason is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./src/SYMPHONY/SYMPHONY/src/TreeManager/tm_func.c:1600 [error] - Undefined behaviour: reason is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./src/SYMPHONY/SYMPHONY/src/TreeManager/tm_func.c:1614 [error] - Undefined behaviour: reason is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./src/SYMPHONY/SYMPHONY/src/TreeManager/tm_func.c:181 [error] - Memory leak: root
- ./src/SYMPHONY/SYMPHONY/src/TreeManager/tm_proccomm.c:790 [error] - Undefined behaviour: reason is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./src/SYMPHONY/SYMPHONY/src/TreeManager/tm_proccomm.c:792 [error] - Undefined behaviour: reason is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./src/SYMPHONY/SYMPHONY/src/TreeManager/tm_proccomm.c:803 [error] - Undefined behaviour: reason is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
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:18:27 +0000, based on results by cppcheck 1.46