cppcheck analysis of mtd-utils_20090606-1.dsc
- ./docfdisk.c:197 [error] - Memory leak: oobbuf
- ./fectest.c:37 [error] - Buffer access out-of-bounds
- ./flash_erase.c:92 [error] - Memory leak: reginfo
- ./flash_erase.c:188 [possible error] - Resource leak: Fd
- ./flash_eraseall.c:75 [error] - Resource leak: fd
- ./flash_info.c:54 [error] - Resource leak: Fd
- ./flash_lock.c:82 [error] - Resource leak: fd
- ./flash_otp_dump.c:34 [error] - Resource leak: fd
- ./flash_otp_info.c:33 [error] - Resource leak: fd
- ./flash_otp_lock.c:69 [error] - Resource leak: fd
- ./flash_otp_write.c:95 [error] - Resource leak: fd
- ./flash_unlock.c:62 [error] - Resource leak: fd
- ./jffs-dump.c:359 [error] - Resource leak: fs
- ./tests/fs-tests/integrity/integck.c:919 [error] - Resource leak: fd
- ./tests/fs-tests/integrity/integck.c:978 [error] - Resource leak: fd
- ./tests/fs-tests/integrity/integck.c:1079 [error] - Resource leak: w_fd
- ./tests/fs-tests/lib/tests.c:571 [error] - Resource leak: fd
- ./tests/fs-tests/lib/tests.c:694 [error] - Resource leak: fd
- ./tests/fs-tests/lib/tests.c:719 [error] - Resource leak: fd
- ./tests/fs-tests/simple/ftrunc.c:73 [possible error] - Resource leak: fd
- ./tests/fs-tests/simple/perf.c:126 [possible error] - Resource leak: fd
- ./tests/fs-tests/stress/atoms/fwrite00.c:152 [error] - Resource leak: fd
- ./tests/fs-tests/stress/atoms/pdfrun.c:95 [error] - Resource leak: fd
- ./tests/fs-tests/stress/atoms/rndrm99.c:175 [possible error] - Resource leak: fd
- ./tests/fs-tests/stress/atoms/rndwrite00.c:142 [possible error] - Resource leak: fd
- ./tests/fs-tests/stress/atoms/stress_1.c:70 [possible error] - Resource leak: fd
- ./tests/fs-tests/stress/atoms/stress_2.c:76 [error] - Resource leak: fd
- ./tests/fs-tests/stress/atoms/stress_3.c:78 [possible error] - Resource leak: fd
- ./tests/jittertest/JitterTest.c:466 [error] - Resource leak: fdSnapshot
- ./tests/jittertest/JitterTest.c:473 [error] - Resource leak: fdProfile
- ./tests/jittertest/JitterTest.c:508 [error] - Resource leak: fdProfile
- ./tests/jittertest/plotJittervsFill.c:308 [error] - Resource leak: fp
- ./tests/ubi-tests/volrefcnt.c:116 [error] - Resource leak: fd
- ./ubi-utils/old-utils/src/bin2nand.c:343 [possible error] - Resource leak: fp_out_data
- ./ubi-utils/old-utils/src/bootenv.c:954 [error] - Memory leak: res
- ./ubi-utils/old-utils/src/error.c:50 [error] - Resource leak: fp
- ./ubi-utils/old-utils/src/libpfiflash.c:940 [error] - Deallocating a deallocated pointer: mtd
- ./ubi-utils/old-utils/src/pfi2bin.c:492 [error] - Memory leak: res
- ./ubi-utils/old-utils/src/unubi_analyze.c:226 [error] - Memory leak: erase_counts
- ./ubi-utils/src/libubi.c:426 [error] - Resource leak: fd
- ./ubi-utils/src/libubi.c:801 [error] - Resource leak: fd
- ./ubi-utils/src/ubicrc32.c:124 [possible error] - Resource leak: fp
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 05:58:53 +0000, based on results by cppcheck 1.41-modif