cppcheck analysis of coinor-symphony_5.2.2-1.dsc
- ./SYMPHONY/Applications/CNRP/src/CutGen/tsp.c:286 [error] - Memory leak: sel
- ./SYMPHONY/Applications/CNRP/src/LP/cnrp_lp.c:1287 [possible error] - Memory leak: matind
- ./SYMPHONY/Applications/CNRP/src/LP/cnrp_lp.c:1287 [possible error] - Memory leak: matval
- ./SYMPHONY/Applications/CNRP/src/LP/cnrp_lp_branch.c:284 [error] - Memory leak: userind
- ./SYMPHONY/Applications/CNRP/src/Master/cnrp_io.c:622 [possible error] - Resource leak: f
- ./SYMPHONY/Applications/CNRP/src/Master/cnrp_main.c:454 [error] - Memory leak: rngval
- ./SYMPHONY/Applications/MATCH/src/Master/user_main.c:108 [error] - Resource leak: f
- ./SYMPHONY/Applications/MPP/src/LP/mpp_lp.c:289 [possible error] - Memory leak: matind
- ./SYMPHONY/Applications/SPP+CUTS/src/LP/spp_lp_functions.c:392 [possible error] - Memory leak: new_cut
- ./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: fract_weight
- ./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:2135 [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/LP/vrp_lp.c:621 [possible error] - Memory leak: matind
- ./SYMPHONY/Applications/VRP/src/LP/vrp_lp.c:621 [possible error] - Memory leak: matval
- ./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/lower_bound.c:82 [error] - Memory leak: sorted_demand
- ./SYMPHONY/Applications/VRP/src/Master/Heuristics/start_heurs.c:272 [possible error] - Memory leak: heur_out
- ./SYMPHONY/Applications/VRP/src/Master/vrp_io.c:517 [possible error] - Resource leak: f
- ./SYMPHONY/Applications/VRP/src/Master/vrp_main.c:195 [error] - Memory leak: input_dir
- ./SYMPHONY/Applications/VRP/src/Master/vrp_main.c:195 [error] - Memory leak: infile
- ./SYMPHONY/Applications/VRP/src/Master/vrp_main.c:195 [error] - Memory leak: sgfile
- ./SYMPHONY/Applications/VRP/src/Master/vrp_master.c:746 [error] - Memory leak: coef
- ./SYMPHONY/src/LP/lp_branch.c:1334 [possible error] - Memory leak: objval
- ./SYMPHONY/src/LP/lp_branch.c:1334 [possible error] - Memory leak: termcode
- ./SYMPHONY/src/LP/lp_branch.c:1334 [possible error] - Memory leak: feasible
- ./SYMPHONY/src/LP/lp_branch.c:1334 [possible error] - Memory leak: iterd
- ./SYMPHONY/src/LP/lp_branch.c:1334 [possible error] - Memory leak: frnum
- ./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_pseudo_branch.c:481 [possible error] - Memory leak: objval
- ./SYMPHONY/src/LP/lp_pseudo_branch.c:481 [possible error] - Memory leak: termcode
- ./SYMPHONY/src/LP/lp_pseudo_branch.c:481 [possible error] - Memory leak: feasible
- ./SYMPHONY/src/LP/lp_pseudo_branch.c:481 [possible error] - Memory leak: iterd
- ./SYMPHONY/src/LP/lp_pseudo_branch.c:481 [possible error] - Memory leak: frnum
- ./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:3158 [error] - Memory leak: colsol
- ./SYMPHONY/src/Master/master.c:4101 [possible error] - Memory leak: matBeg
- ./SYMPHONY/src/Master/master.c:4101 [error] - Memory leak: matInd
- ./SYMPHONY/src/Master/master.c:4166 [error] - Memory leak: lengths
- ./SYMPHONY/src/Master/master.c:4166 [error] - Memory leak: matVal
- ./SYMPHONY/src/Master/master.c:4321 [error] - Memory leak: lengths
- ./SYMPHONY/src/Master/master.c:4473 [error] - Memory leak: new_rows
- ./SYMPHONY/src/Master/master.c:6288 [error] - Memory leak: mps_dir
- ./SYMPHONY/src/Master/master.c:6288 [error] - Memory leak: infile
- ./SYMPHONY/src/Master/master_prep_base.c:1348 [possible error] - Memory leak: col_factor
- ./SYMPHONY/src/Master/master_prep_base.c:1348 [possible error] - Memory leak: row_factor
- ./SYMPHONY/src/Master/master_prep_base.c:1348 [possible error] - Memory leak: col_fix_type
- ./SYMPHONY/src/Master/master_prep_base.c:1348 [possible error] - Memory leak: col_fix_val
- ./SYMPHONY/src/Master/master_prep_base.c:1348 [possible error] - Memory leak: col_orig_type
- ./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 [possible 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 [possible 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: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 Thu, 16 Dec 2010 05:46:43 +0000, based on results by cppcheck 1.41-modif