cppcheck analysis of adolc_2.1.5-1.dsc
- ./ADOL-C/examples/additional_examples/checkpointing/checkpointing.cpp:80 [error] - Uninitialized variable: f
- ./ADOL-C/examples/additional_examples/ext_diff_func/ext_diff_func.cpp:91 [error] - Uninitialized variable: f
- ./ADOL-C/examples/additional_examples/hessmat/hessmat.cpp:238 [possible error] - Memory leak: x
- ./ADOL-C/examples/additional_examples/hessmat/hessmat.cpp:238 [possible error] - Memory leak: y
- ./ADOL-C/examples/additional_examples/ipopt/LuksanVlcek1/ADOL-C_NLP.cpp:297 [error] - Uninitialized variable: dummy
- ./ADOL-C/examples/additional_examples/ipopt/LuksanVlcek1_sparse/ADOL-C_sparseNLP.cpp:274 [possible error] - Mismatching allocation and deallocation: MyADOLC_sparseNLP::x_lam
- ./ADOL-C/examples/additional_examples/ipopt/LuksanVlcek1_sparse/ADOL-C_sparseNLP.cpp:502 [possible error] - Mismatching allocation and deallocation: MyADOLC_sparseNLP::rind_L
- ./ADOL-C/examples/additional_examples/ipopt/LuksanVlcek1_sparse/ADOL-C_sparseNLP.cpp:503 [possible error] - Mismatching allocation and deallocation: MyADOLC_sparseNLP::cind_L
- ./ADOL-C/examples/additional_examples/ipopt/LuksanVlcek1_sparse/ADOL-C_sparseNLP.cpp:504 [possible error] - Mismatching allocation and deallocation: MyADOLC_sparseNLP::rind_L_total
- ./ADOL-C/examples/additional_examples/ipopt/LuksanVlcek1_sparse/ADOL-C_sparseNLP.cpp:505 [possible error] - Mismatching allocation and deallocation: MyADOLC_sparseNLP::cind_L_total
- ./ADOL-C/examples/additional_examples/ipopt/LuksanVlcek1_sparse/ADOL-C_sparseNLP.cpp:285 [error] - Uninitialized variable: dummy
- ./ADOL-C/examples/additional_examples/ipopt/MittelmannDistCntrlNeumA/ADOL-C_NLP.cpp:404 [error] - Uninitialized variable: dummy
- ./ADOL-C/examples/additional_examples/ipopt/MittelmannDistCntrlNeumA_sparse/ADOL-C_sparseNLP.cpp:378 [possible error] - Mismatching allocation and deallocation: MyADOLC_sparseNLP::x_lam
- ./ADOL-C/examples/additional_examples/ipopt/MittelmannDistCntrlNeumA_sparse/ADOL-C_sparseNLP.cpp:605 [possible error] - Mismatching allocation and deallocation: MyADOLC_sparseNLP::rind_L
- ./ADOL-C/examples/additional_examples/ipopt/MittelmannDistCntrlNeumA_sparse/ADOL-C_sparseNLP.cpp:606 [possible error] - Mismatching allocation and deallocation: MyADOLC_sparseNLP::cind_L
- ./ADOL-C/examples/additional_examples/ipopt/MittelmannDistCntrlNeumA_sparse/ADOL-C_sparseNLP.cpp:607 [possible error] - Mismatching allocation and deallocation: MyADOLC_sparseNLP::rind_L_total
- ./ADOL-C/examples/additional_examples/ipopt/MittelmannDistCntrlNeumA_sparse/ADOL-C_sparseNLP.cpp:608 [possible error] - Mismatching allocation and deallocation: MyADOLC_sparseNLP::cind_L_total
- ./ADOL-C/examples/additional_examples/ipopt/MittelmannDistCntrlNeumA_sparse/ADOL-C_sparseNLP.cpp:389 [error] - Uninitialized variable: dummy
- ./ADOL-C/examples/additional_examples/lighthouse/cubic-2.cpp:87 [error] - Uninitialized variable: z
- ./ADOL-C/examples/additional_examples/lighthouse/cubic-iter-2.cpp:65 [error] - Uninitialized variable: z
- ./ADOL-C/examples/additional_examples/lighthouse/cubic-iter.cpp:68 [error] - Uninitialized variable: z
- ./ADOL-C/examples/additional_examples/lighthouse/cubic.cpp:102 [error] - Uninitialized variable: z
- ./ADOL-C/examples/additional_examples/openmp_exam/liborpar.cpp:218 [error] - Memory leak: v
- ./ADOL-C/examples/additional_examples/openmp_exam/liborpar.cpp:218 [error] - Memory leak: gradtot
- ./ADOL-C/examples/additional_examples/openmp_exam/liborser.cpp:196 [error] - Memory leak: v
- ./ADOL-C/examples/additional_examples/openmp_exam/liborser.cpp:196 [error] - Memory leak: gradtot
- ./ADOL-C/examples/additional_examples/scal/scalexam.cpp:187 [error] - Memory leak: xp
- ./ADOL-C/examples/additional_examples/scal/scalexam.cpp:187 [error] - Memory leak: yp
- ./ADOL-C/examples/additional_examples/scal/scalexam.cpp:187 [error] - Memory leak: res
- ./ADOL-C/examples/additional_examples/sparse/sparse_hessian.cpp:52 [error] - Uninitialized variable: f
- ./ADOL-C/examples/additional_examples/tapesave/createTape.cpp:73 [error] - Uninitialized variable: f
- ./ADOL-C/examples/additional_examples/taylor/accessexam.cpp:152 [error] - Memory leak: yp
- ./ADOL-C/examples/additional_examples/taylor/accessexam.cpp:152 [error] - Memory leak: x
- ./ADOL-C/examples/additional_examples/taylor/accessexam.cpp:152 [error] - Memory leak: y
- ./ADOL-C/examples/additional_examples/taylor/coordinates.cpp:103 [error] - Memory leak: z
- ./ADOL-C/examples/additional_examples/taylor/coordinates.cpp:103 [error] - Memory leak: g
- ./ADOL-C/examples/additional_examples/taylor/inversexam.cpp:171 [error] - Memory leak: yp
- ./ADOL-C/examples/additional_examples/taylor/inversexam.cpp:171 [error] - Memory leak: x
- ./ADOL-C/examples/additional_examples/taylor/inversexam.cpp:171 [error] - Memory leak: y
- ./ADOL-C/examples/additional_examples/taylor/taylorexam.cpp:176 [error] - Memory leak: yp
- ./ADOL-C/examples/additional_examples/taylor/taylorexam.cpp:176 [error] - Memory leak: x
- ./ADOL-C/examples/additional_examples/taylor/taylorexam.cpp:176 [error] - Memory leak: y
- ./ADOL-C/examples/additional_examples/taylor/trigger.cpp:137 [error] - Memory leak: Fhp
- ./ADOL-C/examples/additional_examples/taylor/trigger.cpp:137 [error] - Memory leak: add
- ./ADOL-C/examples/additional_examples/taylor/trigger.cpp:137 [error] - Memory leak: x
- ./ADOL-C/examples/additional_examples/taylor/trigger.cpp:137 [error] - Memory leak: Fh
- ./ADOL-C/src/drivers/taylor.c:680 [error] - Memory leak: jm
- ./ADOL-C/src/sparse/sparsedrivers.cpp:117 [possible error] - Memory leak: g
- ./ADOL-C/src/sparse/sparsedrivers.cpp:185 [possible error] - Memory leak: g
- ./ADOL-C/src/tapedoc/tapedoc.c:148 [error] - Memory leak: fileName
- ./ADOL-C/src/taping.c:384 [possible error] - Memory leak: threadNumberString
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:45:59 +0000, based on results by cppcheck 1.41-modif