cppcheck analysis of coinor-symphony_5.2.4-1.dsc
- ./SYMPHONY/Applications/CNRP/src/Common/network.c:296 [error] - Uninitialized variable: nv0
- ./SYMPHONY/Applications/CNRP/src/CutGen/tsp.c:286 [error] - Memory leak: sel
- ./SYMPHONY/Applications/CNRP/src/LP/cnrp_lp.c:1272 [error] - Common realloc mistake: "matind" nulled but not freed upon failure
- ./SYMPHONY/Applications/CNRP/src/LP/cnrp_lp_branch.c:284 [error] - Memory leak: userind
- ./SYMPHONY/Applications/MATCH/src/Master/user_main.c:108 [error] - Resource leak: f
- ./SYMPHONY/Applications/MPP/src/LP/mpp_lp.c:272 [error] - Common realloc mistake: "matind" nulled but not freed upon failure
- ./SYMPHONY/Applications/SPP+CUTS/src/LP/spp_lp_functions.c:340 [error] - Uninitialized variable: p
- ./SYMPHONY/Applications/VRP/src/CutGen/Decomp/decomp_lower_bound.c:398 [error] - Memory leak: degrees
- ./SYMPHONY/Applications/VRP/src/CutGen/Decomp/my_decomp_user.c:1190 [error] - Memory leak: route
- ./SYMPHONY/Applications/VRP/src/CutGen/Decomp/my_decomp_user.c:2136 [error] - Memory leak: nonzeros
- ./SYMPHONY/Applications/VRP/src/CutGen/Decomp/my_decomp_user.c:2740 [error] - Memory leak: new_row_number
- ./SYMPHONY/Applications/VRP/src/CutGen/Decomp/my_decomp_user.c:2740 [error] - Memory leak: indicators
- ./SYMPHONY/Applications/VRP/src/CutGen/tsp.c:286 [error] - Memory leak: sel
- ./SYMPHONY/Applications/VRP/src/CutGen/vrp_cg.c:456 [error] - Memory leak: compdemands_copy
- ./SYMPHONY/Applications/VRP/src/CutGen/vrp_cg.c:456 [error] - Memory leak: compcuts_copy
- ./SYMPHONY/Applications/VRP/src/LP/vrp_lp.c:600 [error] - Common realloc mistake: "matind" nulled but not freed upon failure
- ./SYMPHONY/Applications/VRP/src/LP/vrp_lp.c:1264 [error] - Memory leak: lhs_totals
- ./SYMPHONY/Applications/VRP/src/LP/vrp_lp_branch.c:182 [error] - Memory leak: userind
- ./SYMPHONY/Applications/VRP/src/Master/Heuristics/receive_rout.c:109 [error] - Memory leak: returned
- ./SYMPHONY/Applications/VRP/src/Master/vrp_main.c:293 [error] - Memory leak: input_dir
- ./SYMPHONY/Applications/VRP/src/Master/vrp_main.c:293 [error] - Memory leak: infile
- ./SYMPHONY/Applications/VRP/src/Master/vrp_main.c:293 [error] - Memory leak: sgfile
- ./SYMPHONY/Applications/VRP/src/Master/vrp_master.c:746 [error] - Memory leak: coef
- ./SYMPHONY/src/DrawGraph/draw_graph.c:1117 [error] - Memory leak: new_win
- ./SYMPHONY/src/LP/lp_branch.c:832 [error] - Memory leak: objval
- ./SYMPHONY/src/LP/lp_branch.c:832 [error] - Memory leak: pobj
- ./SYMPHONY/src/LP/lp_branch.c:832 [error] - Memory leak: termcode
- ./SYMPHONY/src/LP/lp_branch.c:832 [error] - Memory leak: pterm
- ./SYMPHONY/src/LP/lp_branch.c:832 [error] - Memory leak: feasible
- ./SYMPHONY/src/LP/lp_branch.c:832 [error] - Memory leak: pfeas
- ./SYMPHONY/src/LP/lp_branch.c:832 [error] - Memory leak: iterd
- ./SYMPHONY/src/LP/lp_branch.c:832 [error] - Memory leak: piter
- ./SYMPHONY/src/LP/lp_branch.c:832 [error] - Memory leak: frnum
- ./SYMPHONY/src/LP/lp_branch.c:832 [error] - Memory leak: pfrnum
- ./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.
- ./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.
- ./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.
- ./SYMPHONY/src/LP/lp_solver.c:1316 [error] - Memory leak: which
- ./SYMPHONY/src/LP/lp_wrapper.c:289 [error] - Memory leak: userind
- ./SYMPHONY/src/Master/master.c:3165 [error] - Memory leak: colsol
- ./SYMPHONY/src/Master/master.c:4108 [error] - Memory leak: matBeg
- ./SYMPHONY/src/Master/master.c:4108 [error] - Memory leak: matInd
- ./SYMPHONY/src/Master/master.c:4173 [error] - Memory leak: lengths
- ./SYMPHONY/src/Master/master.c:4173 [error] - Memory leak: matVal
- ./SYMPHONY/src/Master/master.c:4480 [error] - Memory leak: new_rows
- ./SYMPHONY/src/Master/master_prep_base.c:3244 [error] - Memory leak: row_coef_bin_cnt
- ./SYMPHONY/src/Master/master_prep_base.c:3244 [error] - Memory leak: row_sign_pos_cnt
- ./SYMPHONY/src/Master/master_prep_base.c:3244 [error] - Memory leak: rows_integerized_var_ind
- ./SYMPHONY/src/Master/master_prep_base.c:3244 [error] - Memory leak: mip_inf
- ./SYMPHONY/src/Master/master_prep_base.c:3244 [error] - Memory leak: cols
- ./SYMPHONY/src/Master/master_prep_base.c:3244 [error] - Memory leak: rows
- ./SYMPHONY/src/Master/master_prep_base.c:4137 [error] - Memory leak: row_new_inds
- ./SYMPHONY/src/TreeManager/tm_func.c:1714 [error] - Resource leak: f
- ./SYMPHONY/src/TreeManager/tm_func.c:3033 [error] - Memory leak: children
- ./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.
- ./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.
- ./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.
- ./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.
- ./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.
- ./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.
- ./SYMPHONY/src/TreeManager/tm_func.c:181 [error] - Memory leak: root
- ./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.
- ./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.
- ./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:13:08 +0000, based on results by cppcheck 1.46