cppcheck analysis of beid_3.5.2.dfsg-10.dsc
- ./_src/beid-2.6/src/Belpic PCSC Service/PCSCManager.cpp:381 [error] - Mismatching allocation and deallocation: prgReaderStates
- ./_src/beid-2.6/src/Belpic PCSC Service/PCSCManager.cpp:588 [error] - Mismatching allocation and deallocation: pSendBuffer
- ./_src/beid-2.6/src/Belpic PCSC Service/PCSCManager.cpp:592 [error] - Mismatching allocation and deallocation: pRecvBuffer
- ./_src/beid-2.6/src/Belpic PCSC Service/PCSCManager.cpp:655 [error] - Mismatching allocation and deallocation: pSendBuffer
- ./_src/beid-2.6/src/Belpic PCSC Service/PCSCManager.cpp:659 [error] - Mismatching allocation and deallocation: pRecvBuffer
- ./_src/beid-2.6/src/Belpic PCSC Service/TransactionStack.cpp:86 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./_src/beid-2.6/src/Belpic PCSC Service/maindialogimpl.cpp:81 [error] - Mismatching allocation and deallocation: pSendBuffer
- ./_src/beid-2.6/src/Belpic PCSC Service/maindialogimpl.cpp:85 [error] - Mismatching allocation and deallocation: pRecvBuffer
- ./_src/beid-2.6/src/Belpic PCSC Service/processapi.cpp:111 [error] - Mismatching allocation and deallocation: modules
- ./_src/beid-2.6/src/Belpic PCSC Service/processapi.cpp:78 [error] - Memory leak: modules
- ./_src/beid-2.6/src/Belpic PCSC Service/processapi.cpp:379 [error] - Mismatching allocation and deallocation: processes
- ./_src/beid-2.6/src/Belpic PCSC Service/processapi.cpp:421 [error] - Mismatching allocation and deallocation: processes
- ./_src/beid-2.6/src/beidcommon/bytearray.cpp:102 [error] - Common realloc mistake: "m_pData" nulled but not freed upon failure
- ./_src/beid-2.6/src/beidcommon/qtservice_win.cpp:824 [style] - Redundant assignment of "wType" in switch
- ./_src/beid-2.6/src/eidlib/processapi.cpp:110 [error] - Mismatching allocation and deallocation: modules
- ./_src/beid-2.6/src/eidlib/processapi.cpp:77 [error] - Memory leak: modules
- ./_src/beid-2.6/src/eidlib/processapi.cpp:378 [error] - Mismatching allocation and deallocation: processes
- ./_src/beid-2.6/src/eidlib/processapi.cpp:420 [error] - Mismatching allocation and deallocation: processes
- ./_src/beid-2.6/src/eidviewer/config/BelgianEIDConfig.cpp:170 [error] - Mismatching allocation and deallocation: pByte
- ./_src/beid-2.6/src/eidviewer/config/KeyInfo.cpp:64 [error] - Mismatching allocation and deallocation: CKeyInfo::m_strContainerName
- ./_src/beid-2.6/src/newpkcs11/src/libopensc/dir.c:297 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./_src/beid-2.6/src/newpkcs11/src/libopensc/dir.c:306 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./_src/beid-2.6/src/newpkcs11/src/libopensc/dir.c:120 [error] - Memory leak: app
- ./_src/beid-2.6/src/newpkcs11/src/scconf/write.c:95 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./_src/eID-QuickInstaller/EIKDiag/diaglib/PJSysInfo.cpp:267 [error] - Uninitialized variable: Result
- ./_src/eID-QuickInstaller/zrc/zrclib/ZrcArchive.cpp:224 [error] - Memory leak: data
- ./_src/eidmw/applayer/APLReader.cpp:1312 [error] - Resource leak: f
- ./_src/eidmw/cardlayer/PCSC.cpp:393 [error] - Mismatching allocation and deallocation: pucRecv
- ./_src/eidmw/cardlayer/PCSC.cpp:406 [error] - Mismatching allocation and deallocation: pucRecv
- ./_src/eidmw/cardlayerTool/testcardlayer.cpp:324 [error] - Mismatching allocation and deallocation: pucCert
- ./_src/eidmw/misc/Wix_MW35/IncludeFolder/IncludeFolder.cpp:293 [error] - Resource leak: f
- ./_src/eidmw/misc/mac/OOoRegister/postflight.c:95 [error] - Dangerous usage of 'path' (strncpy doesn't always 0-terminate it)
- ./_src/eidmw/pkcs11/p11.c:119 [error] - Common realloc mistake: "gpSessions" nulled but not freed upon failure
- ./_src/eidmw/sdk/samples/sign_csp/C++/main.cpp:53 [error] - Memory leak: data
- ./_src/eidmw/sdk/samples/sign_csp/C++/main.cpp:74 [error] - Resource leak: f
- ./_src/eidmw/sdk/samples/sign_p11/C++/main.cpp:134 [error] - Mismatching allocation and deallocation: data
- ./_src/eidmw/sdk/samples/sign_p11/C++/main.cpp:146 [error] - Mismatching allocation and deallocation: data
- ./_src/eidmw/sdk/samples/sign_p11/C++/main.cpp:151 [error] - Resource leak: f
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, 23 Dec 2010 17:58:01 +0000, based on results by cppcheck 1.46