cppcheck analysis of hatari_1.4.0-1.dsc
- ./src/debug/debugui.c:1030 [error] - Resource leak: fp
- ./src/paths.c:84 [error] - Memory leak: pPathEnv
- ./src/scandir.c:141 [error] - Memory leak: p
- ./src/convert/spec320x16.c:77 [error] - Array 'pixelspace[5]' index 8 out of bounds
- ./src/convert/spec320x16.c:81 [error] - Array 'pixelspace[5]' index 8 out of bounds
- ./src/convert/spec320x16.c:81 [error] - Array 'pixelspace[5]' index 12 out of bounds
- ./src/convert/spec320x16.c:85 [error] - Array 'pixelspace[5]' index 12 out of bounds
- ./src/convert/spec640x16.c:80 [error] - Array 'pixelspace[5]' index 8 out of bounds
- ./src/convert/spec640x16.c:84 [error] - Array 'pixelspace[5]' index 8 out of bounds
- ./src/convert/spec640x16.c:84 [error] - Array 'pixelspace[5]' index 12 out of bounds
- ./src/convert/spec640x16.c:88 [error] - Array 'pixelspace[5]' index 12 out of bounds
- ./src/convert/spec640x16.c:101 [error] - Array 'pixelspace[5]' index 8 out of bounds
- ./src/convert/spec640x16.c:105 [error] - Array 'pixelspace[5]' index 8 out of bounds
- ./src/convert/spec640x16.c:105 [error] - Array 'pixelspace[5]' index 12 out of bounds
- ./src/convert/spec640x16.c:109 [error] - Array 'pixelspace[5]' index 12 out of bounds
- ./src/convert/spec320x32.c:77 [error] - Array 'pixelspace[5]' index 8 out of bounds
- ./src/convert/spec320x32.c:81 [error] - Array 'pixelspace[5]' index 8 out of bounds
- ./src/convert/spec320x32.c:81 [error] - Array 'pixelspace[5]' index 12 out of bounds
- ./src/convert/spec320x32.c:85 [error] - Array 'pixelspace[5]' index 12 out of bounds
- ./src/convert/spec640x32.c:80 [error] - Array 'pixelspace[5]' index 8 out of bounds
- ./src/convert/spec640x32.c:84 [error] - Array 'pixelspace[5]' index 8 out of bounds
- ./src/convert/spec640x32.c:84 [error] - Array 'pixelspace[5]' index 12 out of bounds
- ./src/convert/spec640x32.c:88 [error] - Array 'pixelspace[5]' index 12 out of bounds
- ./src/convert/spec640x32.c:101 [error] - Array 'pixelspace[5]' index 8 out of bounds
- ./src/convert/spec640x32.c:105 [error] - Array 'pixelspace[5]' index 8 out of bounds
- ./src/convert/spec640x32.c:105 [error] - Array 'pixelspace[5]' index 12 out of bounds
- ./src/convert/spec640x32.c:109 [error] - Array 'pixelspace[5]' index 12 out of bounds
- ./src/convert/spec320x16.c:77 [error] - Array 'pixelspace[5]' index 5 out of bounds
- ./src/convert/spec320x16.c:81 [error] - Array 'pixelspace[5]' index 9 out of bounds
- ./src/convert/spec320x16.c:85 [error] - Array 'pixelspace[5]' index 13 out of bounds
- ./src/convert/spec640x16.c:80 [error] - Array 'pixelspace[5]' index 5 out of bounds
- ./src/convert/spec640x16.c:84 [error] - Array 'pixelspace[5]' index 9 out of bounds
- ./src/convert/spec640x16.c:88 [error] - Array 'pixelspace[5]' index 13 out of bounds
- ./src/convert/spec640x16.c:101 [error] - Array 'pixelspace[5]' index 5 out of bounds
- ./src/convert/spec640x16.c:105 [error] - Array 'pixelspace[5]' index 9 out of bounds
- ./src/convert/spec640x16.c:109 [error] - Array 'pixelspace[5]' index 13 out of bounds
- ./src/convert/spec320x32.c:77 [error] - Array 'pixelspace[5]' index 5 out of bounds
- ./src/convert/spec320x32.c:81 [error] - Array 'pixelspace[5]' index 9 out of bounds
- ./src/convert/spec320x32.c:85 [error] - Array 'pixelspace[5]' index 13 out of bounds
- ./src/convert/spec640x32.c:80 [error] - Array 'pixelspace[5]' index 5 out of bounds
- ./src/convert/spec640x32.c:84 [error] - Array 'pixelspace[5]' index 9 out of bounds
- ./src/convert/spec640x32.c:88 [error] - Array 'pixelspace[5]' index 13 out of bounds
- ./src/convert/spec640x32.c:101 [error] - Array 'pixelspace[5]' index 5 out of bounds
- ./src/convert/spec640x32.c:105 [error] - Array 'pixelspace[5]' index 9 out of bounds
- ./src/convert/spec640x32.c:109 [error] - Array 'pixelspace[5]' index 13 out of bounds
- ./src/uae-cpu/newcpu.c:192 [error] - Uninitialized variable: total
- ./src/unzip.c:424 [error] - Possible null pointer dereference: s - otherwise it is redundant to check if s is null at line 425
- ./src/unzip.c:875 [error] - Possible null pointer dereference: pfile_in_zip_read_info - otherwise it is redundant to check if pfile_in_zip_read_info is null at line 877
- ./src/zip.c:418 [error] - Memory leak: name
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Tue, 21 Dec 2010 20:58:04 +0000, based on results by cppcheck 1.46