cppcheck analysis of zip_3.0-3.dsc
- ./amiga/amigazip.c:462 [error] - Buffer access out-of-bounds: buf1
- ./atheos/atheos.c:277 [error] - Invalid number of character (() when these macros are defined: ''.
- ./atheos/atheos.c:277 [error] - Invalid number of character (() when these macros are defined: 'AMIGA'.
- ./atheos/atheos.c:277 [error] - Invalid number of character (() when these macros are defined: 'AMIGA;AZTEC_C'.
- ./atheos/atheos.c:277 [error] - Invalid number of character (() when these macros are defined: 'AOSVS'.
- ./atheos/atheos.c:277 [error] - Invalid number of character (() when these macros are defined: 'ASMV;RISCOS'.
- ./atheos/atheos.c:277 [error] - Invalid number of character (() when these macros are defined: 'ASMV;USE_ZLIB'.
- ./atheos/atheos.c:277 [error] - Invalid number of character (() when these macros are defined: 'ASM_CRC;USE_ZLIB'.
- ./atheos/atheos.c:277 [error] - Invalid number of character (() when these macros are defined: 'ASM_CRC;__386__;__WATCOMC__'.
- ./atheos/atheos.c:277 [error] - Invalid number of character (() when these macros are defined: 'ATARI'.
- ./atheos/atheos.c:277 [error] - Invalid number of character (() when these macros are defined: 'AZTEC_C'.
- ./atheos/atheos.c:277 [error] - Invalid number of character (() when these macros are defined: 'AZTEC_C;GLOBALS'.
- ./atheos/atheos.c:277 [error] - Invalid number of character (() when these macros are defined: 'BIG_MEM;MMAP'.
- ./macos/source/extrafld.c:333 [error] - Memory leak: c_ef
- ./macos/source/macos.c:1051 [error] - Array 'copyright[1]' index 1 out of bounds
- ./macos/source/recurse.c:122 [error] - Buffer access out-of-bounds
- ./qdos/qdos.c:829 [error] - Memory leak: lq
- ./qdos/qdos.c:751 [error] - Memory leak: eb_l_ptr
- ./tandem/tandem.c:715 [error] - Array 'ulen[1]' index -1 out of bounds
- ./tandem/tandem.c:715 [error] - Array 'uoff[1]' index -1 out of bounds
- ./theos/theos.c:537 [error] - Array 'extra[14]' index 14 out of bounds
- ./theos/theos.c:538 [error] - Array 'extra[14]' index 15 out of bounds
- ./theos/theos.c:539 [error] - Array 'extra[14]' index 16 out of bounds
- ./theos/theos.c:540 [error] - Array 'extra[14]' index 17 out of bounds
- ./timezone.c:499 [error] - Common realloc mistake: "old_TZstring" nulled but not freed upon failure
- ./tops20/tops20.c:138 [error] - Uninitialized variable: fname
- ./tops20/tops20.c:143 [error] - Uninitialized variable: fname
- ./tops20/tops20.c:267 [error] - Uninitialized variable: fname
- ./tops20/tops20.c:275 [error] - Uninitialized variable: fname
- ./unix/unix.c:5483 [error] - mismatching number of '(' and ')' in this line: defined(__NETBSD__))
- ./vms/cmdline.c:474 [error] - Memory leak: the_cmd_line
- ./vms/vms_pk.c:281 [error] - Dereferencing 'ctx' after it is deallocated / released
- ./vms/vms_pk.c:221 [error] - Memory leak: ctx
- ./vms/vms_pk.c:542 [error] - Memory leak: xtra
- ./win32/win32zip.c:1907 [error] - Memory leak: eb_l_ptr
- ./zip.c:4008 [error] - Memory leak: zipbuf
- ./zipfile.c:2271 [error] - Memory leak: locz
- ./zipfile.c:6137 [error] - Memory leak: localz
- ./zipfile.c:3753 [error] - Memory leak: cz.iname
- ./zipfile.c:3753 [error] - Memory leak: cz.cextra
- ./zipfile.c:3753 [error] - Memory leak: cz.comment
- ./zipfile.c:6175 [error] - Memory leak: localz.iname
- ./zipfile.c:6175 [error] - Memory leak: localz.extra
- ./zipfile.c:6304 [error] - Memory leak: localz.name
- ./zipfile.c:6349 [error] - Memory leak: localz.iname
- ./zipnote.c:664 [error] - Deallocating a deallocated pointer: x
- ./zipup.c:610 [error] - Memory leak: tempextra
- ./zipup.c:610 [error] - Memory leak: tempcextra
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:42 +0000, based on results by cppcheck 1.46