cppcheck analysis of yasm_0.8.0-1.dsc
- ./frontends/tasm/tasm.c:424 [error] - Resource leak: obj
- ./frontends/yasm/yasm.c:563 [error] - Resource leak: obj
- ./libyasm/tests/bitvect_test.c:158 [error] - Undefined behaviour: failed 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.
- ./libyasm/tests/combpath_test.c:132 [error] - Undefined behaviour: failed 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.
- ./libyasm/tests/floatnum_test.c:426 [error] - Undefined behaviour: failed 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.
- ./libyasm/tests/leb128_test.c:182 [error] - Undefined behaviour: failed 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.
- ./libyasm/tests/leb128_test.c:189 [error] - Undefined behaviour: failed 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.
- ./libyasm/tests/splitpath_test.c:147 [error] - Undefined behaviour: failed 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.
- ./libyasm/tests/uncstring_test.c:147 [error] - Undefined behaviour: failed 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.
- ./modules/preprocs/nasm/nasm-pp.c:1616 [error] - Possible null pointer dereference: tline - otherwise it is redundant to check if tline is null at line 1618
- ./test_hd.c:54 [error] - Resource leak: bfile
- ./tools/genperf/genperf.c:539 [error] - Resource leak: in
- ./tools/re2c/code.c:11 [error] - Common realloc mistake: "vUsedLabels" nulled but not freed upon failure
- ./tools/re2c/main.c:176 [error] - Resource leak: f
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:21:07 +0000, based on results by cppcheck 1.46