cppcheck analysis of freemat_4.0-3.dsc
- ./dependencies/llvm-2.5/lib/System/Win32/DynamicLibrary.inc:99 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./dependencies/llvm-2.5/lib/Transforms/Scalar/InstructionCombining.cpp:4829 [error] - Memory leak: RV
- ./dependencies/llvm-2.5/tools/llvm-stub/llvm-stub.c:61 [error] - Allocation with malloc, strcpy doesn't release it.
- ./dependencies/llvm-2.5/tools/llvm-stub/llvm-stub.c:55 [error] - Allocation with malloc, strcpy doesn't release it.
- ./dependencies/llvm-2.5/utils/TableGen/CodeGenDAGPatterns.cpp:1538 [error] - Possible null pointer dereference: DI
- ./dependencies/llvm-2.5/utils/TableGen/TGParser.cpp:448 [error] - Memory leak: SubType
- ./dependencies/llvm-2.5/utils/TableGen/TGParser.cpp:837 [error] - Memory leak: Type
- ./dependencies/llvm-2.5/utils/TableGen/TGParser.cpp:1205 [error] - Memory leak: D
- ./dependencies/llvm-2.5/utils/unittest/googletest/gtest.cc:3256 [error] - Null pointer dereference
- ./dependencies/volpack-1.0c7/src/vp_rle.c:761 [error] - Memory leak: rle_voxels
- ./libs/libCore/RPC.cpp:491 [error] - Invalid number of character (() when these macros are defined: ''.
- ./libs/libFreeMat/Array.cpp:621 [error] - instance of "Exception" object destroyed immediately
- ./libs/libFreeMat/Interpreter.cpp:4351 [error] - Memory leak: keywordNdx
- ./libs/libGraphics/GLRenderEngine.cpp:265 [error] - Array 'proj[16]' index 16 out of bounds
- ./libs/libGraphics/HandleSurface.cpp:405 [error] - Memory leak: dummyline
- ./libs/libGraphics/Label.cpp:98 [error] - Memory leak: m
- ./libs/libMath/libBLAS_C/dcabs1.c:26 [error] - Array 'equiv_0[1]' index 1 out of bounds
- ./libs/thirdparty/UMFPACK/Demo/umf4.c:650 [error] - Memory leak: r
- ./libs/thirdparty/UMFPACK/Tcov/ut.c:5088 [error] - Deallocating a deallocated pointer: Ax2
- ./libs/thirdparty/UMFPACK/Tcov/ut.c:5089 [error] - Deallocating a deallocated pointer: Az2
- ./libs/thirdparty/UMFPACK/Tcov/ut.c:4749 [error] - Deallocating a deallocated pointer: Qinit
- ./libs/thirdparty/UMFPACK/Tcov/ut.c:5090 [error] - Deallocating a deallocated pointer: Qinit2
- ./libs/thirdparty/UMFPACK/Tcov/ut.c:5086 [error] - Deallocating a deallocated pointer: Ap2
- ./libs/thirdparty/UMFPACK/Tcov/ut.c:5087 [error] - Deallocating a deallocated pointer: Ai2
- ./libs/thirdparty/portaudio/src/hostapi/alsa/pa_linux_alsa.c:741 [error] - Common realloc mistake: "hwDevInfos" nulled but not freed upon failure
- ./libs/thirdparty/portaudio/src/hostapi/alsa/pa_linux_alsa.c:808 [error] - Common realloc mistake: "hwDevInfos" nulled but not freed upon failure
- ./libs/thirdparty/portaudio/src/hostapi/jack/pa_jack.c:650 [error] - Common realloc mistake: "jackErr_" nulled but not freed upon failure
- ./libs/thirdparty/portaudio/src/hostapi/wdmks/pa_win_wdmks.c:1903 [error] - Uninitialized variable: wdmHostApi
- ./libs/thirdparty/portaudio/test/patest_read_record.c:234 [error] - Memory leak: recordedSamples
- ./libs/thirdparty/zlib-1.2.3/contrib/minizip/unzip.c:522 [error] - Possible null pointer dereference: s - otherwise it is redundant to check if s is null at line 523
- ./libs/thirdparty/zlib-1.2.3/contrib/minizip/unzip.c:1091 [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 1093
- ./libs/thirdparty/zlib-1.2.3/examples/gun.c:393 [error] - Uninitialized variable: next
- ./libs/thirdparty/zlib-1.2.3/gzio.c:149 [error] - Memory leak: s.path
- ./tools/pkg_builder/unzip.c:522 [error] - Possible null pointer dereference: s - otherwise it is redundant to check if s is null at line 523
- ./tools/pkg_builder/unzip.c:1091 [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 1093
- ./tools/t.cpp:44 [error] - Mismatching allocation and deallocation: a
- ./tools/t.cpp:45 [error] - Mismatching allocation and deallocation: d
- ./tools/t.cpp:77 [error] - Mismatching allocation and deallocation: a
- ./tools/t.cpp:78 [error] - Mismatching allocation and deallocation: d
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 03:58:04 +0000, based on results by cppcheck 1.46