cppcheck analysis of cbflib_0.7.9.1-3.dsc
- ./examples/adscimg2cbf.c:250 [error] - Common realloc mistake: "hptr" nulled but not freed upon failure
- ./examples/adscimg2cbf.c:300 [error] - Common realloc mistake: "hptr" nulled but not freed upon failure
- ./examples/adscimg2cbf_sub.c:509 [error] - Memory leak: header_as_details
- ./examples/cbf2adscimg_sub.c:193 [error] - Buffer access out-of-bounds
- ./examples/cbf2adscimg_sub.c:237 [error] - Buffer access out-of-bounds
- ./examples/cbf2adscimg_sub.c:564 [error] - Memory leak: uint_data
- ./examples/cif2cbf.c:702 [error] - Memory leak: ciftmp
- ./examples/convert_image.c:1042 [error] - Memory leak: tempimg
- ./examples/convert_minicbf.c:2921 [error] - Memory leak: tempimg
- ./examples/img.c:1450 [error] - Memory leak: O_data
- ./examples/img2cif.c:531 [error] - Memory leak: imgtmp
- ./pycbf/pycbf_wrap.c:2511 [error] - Undefined behaviour: error_message 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.
- ./pycbf/pycbf_wrap.c:2513 [error] - Undefined behaviour: error_message 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.
- ./pycbf/pycbf_wrap.c:2515 [error] - Undefined behaviour: error_message 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.
- ./pycbf/pycbf_wrap.c:2517 [error] - Undefined behaviour: error_message 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.
- ./pycbf/pycbf_wrap.c:2519 [error] - Undefined behaviour: error_message 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.
- ./pycbf/pycbf_wrap.c:2521 [error] - Undefined behaviour: error_message 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.
- ./pycbf/pycbf_wrap.c:2523 [error] - Undefined behaviour: error_message 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.
- ./pycbf/pycbf_wrap.c:2525 [error] - Undefined behaviour: error_message 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.
- ./pycbf/pycbf_wrap.c:2527 [error] - Undefined behaviour: error_message 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.
- ./pycbf/pycbf_wrap.c:2529 [error] - Undefined behaviour: error_message 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.
- ./pycbf/pycbf_wrap.c:2531 [error] - Undefined behaviour: error_message 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.
- ./pycbf/pycbf_wrap.c:2533 [error] - Undefined behaviour: error_message 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.
- ./pycbf/pycbf_wrap.c:2535 [error] - Undefined behaviour: error_message 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.
- ./pycbf/pycbf_wrap.c:2537 [error] - Undefined behaviour: error_message 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.
- ./pycbf/pycbf_wrap.c:2539 [error] - Undefined behaviour: error_message 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.
- ./pycbf/pycbf_wrap.c:2541 [error] - Undefined behaviour: error_message 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.
- ./pycbf/pycbf_wrap.c:2543 [error] - Undefined behaviour: error_message 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.
- ./pycbf/pycbf_wrap.c:2545 [error] - Undefined behaviour: error_message 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:12:52 +0000, based on results by cppcheck 1.46