cppcheck analysis of z88dk_1.8.ds1-6.dsc
- ./examples/console/adv_a.c:2936 [error] - Buffer access out-of-bounds
- ./libsrc/stdio/8080/fputc.c:108 [error] - Invalid number of character (() when these macros are defined: 'NET_STDIO'.
- ./libsrc/stdio/fputc.c:93 [error] - Invalid number of character (() when these macros are defined: 'NET_STDIO'.
- ./libsrc/z88/QueryPackage.c:12 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./src/appmake/abc80.c:173 [error] - Deallocating a deallocated pointer: fpin
- ./src/appmake/abc80.c:144 [error] - Resource leak: fpout
- ./src/appmake/z88.c:193 [error] - Deallocating a deallocated pointer: binfile
- ./src/appmake/z88shell.c:104 [error] - Deallocating a deallocated pointer: binfile
- ./src/appmake/zx.c:217 [possible error] - Resource leak: fpmerge
- ./src/appmake/zxvgs.c:92 [error] - Deallocating a deallocated pointer: binfile
- ./src/copt/copt.c:625 [error] - Resource leak: fp
- ./support/bin2var/bin2var2.c:82 [possible error] - Array 'charbuffer[1]' index 1 out of bounds
- ./support/bin2var/bin2var2.c:84 [possible error] - Array 'charbuffer[1]' index 1 out of bounds
- ./support/bin2var/bin2var2.c:91 [possible error] - Array 'charbuffer[1]' index 1 out of bounds
- ./support/oz/makewzd.c:169 [possible error] - Resource leak: out
- ./support/rcmx000/mk_coldboot_hfile.c:81 [error] - Resource leak: coldboot
- ./support/sprites/sprite.c:194 [error] - Undefined behaviour: hexcode 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.
- ./support/sprites/sprite.c:198 [error] - Undefined behaviour: hexcode 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.
- ./support/sprites/sprite.c:202 [error] - Undefined behaviour: hexcode 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.
- ./support/ticalc/bin2var/bin2var2.c:86 [possible error] - Array 'charbuffer[1]' index 1 out of bounds
- ./support/ticalc/bin2var/bin2var2.c:88 [possible error] - Array 'charbuffer[1]' index 1 out of bounds
- ./support/ticalc/bin2var/bin2var2.c:95 [possible error] - Array 'charbuffer[1]' index 1 out of bounds
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 06:04:11 +0000, based on results by cppcheck 1.41-modif