cppcheck analysis of openocd_0.4.0-1+nmu1.dsc
- ./src/flash/mflash.c:1112 [error] - Buffer access out-of-bounds: pSegIdDrvInfo.reserved7
- ./src/flash/nor/cfi.c:2365 [error] - instance of "cfi_fixup" object destroyed immediately
- ./src/flash/nor/cfi.c:2369 [error] - instance of "cfi_fixup" object destroyed immediately
- ./src/helper/ioutil.c:368 [error] - Dangerous usage of 'fullPath' (strncpy doesn't always 0-terminate it)
- ./src/helper/jim.c:3934 [error] - Uninitialized variable: resObjPtr
- ./src/jtag/zy1000/zy1000.c:378 [error] - Resource leak: tmpFile
- ./src/pld/xilinx_bit.c:113 [error] - Resource leak: input_file
- ./src/target/arm920t.c:888 [error] - Resource leak: output
- ./src/target/arm920t.c:1186 [error] - Resource leak: output
- ./src/target/target_request.c:128 [error] - instance of "trace_point" object destroyed immediately
- ./src/target/xscale.c:1864 [error] - Memory leak: buf32
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:17:28 +0000, based on results by cppcheck 1.46