cppcheck analysis of z88dk_1.8.ds1-7.dsc
- ./examples/console/adv_a.c:2936 [error] - Buffer access out-of-bounds: GVARS
- ./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/copt/copt.c:625 [error] - Resource leak: fp
- ./support/bin2var/bin2var2.c:82 [error] - Array 'charbuffer[1]' index 1 out of bounds
- ./support/bin2var/bin2var2.c:84 [error] - Array 'charbuffer[1]' index 1 out of bounds
- ./support/bin2var/bin2var2.c:91 [error] - Array 'charbuffer[1]' index 1 out of bounds
- ./support/oz/makewzd.c:169 [error] - Resource leak: out
- ./support/rcmx000/mk_coldboot_hfile.c:81 [error] - Resource leak: coldboot
- ./support/sam/dskman.c:76 [error] - Memory leak: fname
- ./support/sam/dskman.c:90 [error] - Memory leak: fname
- ./support/sam/dskmanANSI.c:73 [error] - Memory leak: fname
- ./support/sam/dskmanANSI.c:86 [error] - Memory leak: fname
- ./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 [error] - Array 'charbuffer[1]' index 1 out of bounds
- ./support/ticalc/bin2var/bin2var2.c:88 [error] - Array 'charbuffer[1]' index 1 out of bounds
- ./support/ticalc/bin2var/bin2var2.c:95 [error] - Array 'charbuffer[1]' index 1 out of bounds
- ./test/machine/Z80/Debug.c:342 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
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:25 +0000, based on results by cppcheck 1.46