cppcheck analysis of cdw_0.6.0-1.dsc
- ./gnulib/lib/canonicalize.c:291 [error] - Common realloc mistake: "extra_buf" nulled but not freed upon failure
- ./gnulib/lib/filenamecat.c:127 [error] - Memory leak: res
- ./src/cddb.c:336 [error] - Undefined behaviour: query 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/cddb.c:339 [error] - Undefined behaviour: query 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/cddb.c:342 [error] - Undefined behaviour: query 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/cddb.c:344 [error] - Undefined behaviour: query 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/cddb.c:382 [error] - Undefined behaviour: query 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/cddb.c:385 [error] - Undefined behaviour: query 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/cddb.c:388 [error] - Undefined behaviour: query 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/cddb.c:391 [error] - Undefined behaviour: query 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/cddb.c:393 [error] - Undefined behaviour: query 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/cddb.c:464 [error] - Undefined behaviour: query 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/cddb.c:467 [error] - Undefined behaviour: query 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/cddb.c:470 [error] - Undefined behaviour: query 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/cddb.c:472 [error] - Undefined behaviour: query 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/cddb.c:528 [error] - Undefined behaviour: query 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/cddb.c:530 [error] - Undefined behaviour: query 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/cddb.c:1212 [error] - Undefined behaviour: var_dir 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/cddb.c:1260 [error] - Undefined behaviour: var_dir 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/cddb.c:1564 [error] - instance of "cddb_menu" object destroyed immediately
- ./src/cddb.c:590 [error] - Uninitialized variable: i
- ./src/cddb.c:1088 [error] - Uninitialized variable: c
- ./src/cddb.c:405 [error] - Undefined behaviour: query 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/cddb.c:408 [error] - Undefined behaviour: query 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/cddb.c:411 [error] - Undefined behaviour: query 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/cddb.c:414 [error] - Undefined behaviour: query 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/cddb.c:416 [error] - Undefined behaviour: query 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/native_file_system/cdw_file.c:332 [error] - Memory leak: copy.printable_fullpath
- ./src/optical_file_systems/isosize.c:46 [error] - Memory leak: vd
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Wed, 23 Mar 2011 06:58:03 +0000, based on results by cppcheck 1.46