cppcheck analysis of cdw_0.3.3-2.dsc
- ./src/cddb.c:338 [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:341 [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:346 [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:384 [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:387 [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:390 [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:395 [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:466 [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:469 [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:474 [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:532 [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:1214 [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:1262 [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:1565 [error] - instance of "cddb_menu" object destroyed immediately
- ./src/cddb.c:592 [error] - Uninitialized variable: i
- ./src/cddb.c:1090 [error] - Uninitialized variable: c
- ./src/cddb.c:407 [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:410 [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:413 [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/cddb.c:418 [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/cdw_ui.c:649 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./src/cdw_widgets.c:548 [error] - Array 'field[1]' index 1 out of bounds
- ./src/commands.c:747 [error] - Memory leak: line
- ./src/commands.c:743 [error] - Resource leak: fp
- ./src/commands.c:171 [error] - Undefined behaviour: command 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/commands.c:248 [error] - Undefined behaviour: writetoCD_command 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/commands.c:296 [error] - Undefined behaviour: command 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/commands.c:337 [error] - Undefined behaviour: command 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/commands.c:419 [error] - Undefined behaviour: command 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/commands.c:430 [error] - Undefined behaviour: command 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/commands.c:438 [error] - Undefined behaviour: command 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/commands.c:440 [error] - Undefined behaviour: command 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/commands.c:443 [error] - Undefined behaviour: command 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/commands.c:496 [error] - Undefined behaviour: command 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/isosize.c:49 [error] - Memory leak: vd
- ./src/log.c:87 [error] - Memory leak: oldline
- ./src/log.c:165 [error] - Resource leak: log
- ./src/log.c:72 [error] - Undefined behaviour: oldline 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/processwin.c:93 [error] - Array 'processwin_empty_string[38]' index 38 out of bounds
- ./tools/cdwdic.c:164 [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.
- ./tools/cdwdic.c:167 [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.
- ./tools/cdwdic.c:170 [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.
- ./tools/cdwdic.c:172 [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.
- ./tools/cdwdic.c:284 [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.
- ./tools/cdwdic.c:287 [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.
- ./tools/cdwdic.c:290 [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.
- ./tools/cdwdic.c:292 [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.
- ./tools/cdwdic.c:203 [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.
- ./tools/cdwdic.c:206 [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.
- ./tools/cdwdic.c:209 [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.
- ./tools/cdwdic.c:212 [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.
- ./tools/cdwdic.c:214 [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.
- ./tools/cdwdic.c:228 [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.
- ./tools/cdwdic.c:231 [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.
- ./tools/cdwdic.c:234 [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.
- ./tools/cdwdic.c:237 [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.
- ./tools/cdwdic.c:239 [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.
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:54 +0000, based on results by cppcheck 1.46