cppcheck analysis of beid_3.5.2.dfsg-5.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/PCSCManager.cpp:304 [error] - Possible null pointer dereference: pszGroups
- ./_src/beid-2.6/src/Belpic PCSC Service/PCSCManager.cpp:707 [possible error] - Memory leak: ppEvent
- ./_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/belpicgui/belpicgui.cpp:207 [possible error] - Memory leak: proc
- ./_src/beid-2.6/src/belpicgui/insertcarddialogimpl.h:23 [possible error] - Memory leak: InsertCardDialogImpl::m_pTimer
- ./_src/beid-2.6/src/eidlib/BEIDApp.cpp:1256 [possible error] - Resource leak: fp
- ./_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 [possible error] - Mismatching allocation and deallocation: CKeyInfo::m_strContainerName
- ./_src/beid-2.6/src/eidviewer/eidviewerApp.h:76 [possible error] - Memory leak: eidviewerApp::m_pFrame
- ./_src/beid-2.6/src/eidviewer/eidviewerApp.h:84 [possible error] - Memory leak: eidviewerApp::gMyApp
- ./_src/beid-2.6/src/eidviewer/eidviewerFrame.h:37 [possible error] - Memory leak: eidviewerFrame::m_notebook
- ./_src/beid-2.6/src/eidviewer/eidviewerFrame.h:43 [possible error] - Memory leak: eidviewerFrame::m_tbar
- ./_src/beid-2.6/src/eidviewer/eidviewerFrame.h:44 [possible error] - Memory leak: eidviewerFrame::m_statusGauge
- ./_src/beid-2.6/src/eidviewer/eidviewerNotebook.cpp:1944 [possible error] - Memory leak: pCertif
- ./_src/beid-2.6/src/newpkcs11/src/libopensc/dir.c:120 [error] - Memory leak: app
- ./_src/beid-2.6/src/newpkcs11/src/libopensc/iso7816.c:123 [error] - Uninitialized variable: recvbuf
- ./_src/eDT/DiagLib/Win/win_file.cpp:143 [possible error] - Memory leak: infoBuffer
- ./_src/eDT/eDTGui/edtgui.h:72 [possible error] - Memory leak: eDTGui::m_processingTimer
- ./_src/eDT/eDTGui/edtgui.h:73 [possible error] - Memory leak: eDTGui::m_heartbeatTimer
- ./_src/eID-QuickInstaller/EIKDiag/diaglib/PJSysInfo.cpp:267 [error] - Uninitialized variable: Result
- ./_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/eidgui/dlgprint.cpp:454 [possible error] - Memory leak: dialog
- ./_src/eidmw/misc/Wix_MW35/IncludeFolder/IncludeFolder.cpp:293 [error] - Resource leak: f
- ./_src/eidmw/misc/mac/OOoRegister/postflight.c:95 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./_src/eidmw/misc/mac/OOoRegister/postflight.c:65 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./_src/eidmw/misc/mac/OOoRegister/postflight.c:66 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./_src/eidmw/misc/mac/OOoRegister/postflight.c:72 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./_src/eidmw/misc/mac/OOoRegister/postflight.c:73 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./_src/eidmw/misc/mac/OOoRegister/postflight.c:74 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./_src/eidmw/misc/mac/OOoRegister/postflight.c:75 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./_src/eidmw/misc/mac/OOoRegister/postflight.c:81 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./_src/eidmw/misc/mac/OOoRegister/postflight.c:82 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./_src/eidmw/misc/mac/OOoRegister/postflight.c:88 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./_src/eidmw/misc/mac/OOoRegister/postflight.c:89 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./_src/eidmw/misc/mac/OOoRegister/postflight.c:90 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./_src/eidmw/misc/mac/OOoRegister/postflight.c:65 [error] - Dangerous usage of 'cmd' (strncpy doesn't always 0-terminate it)
- ./_src/eidmw/pkcs11/log.c:90 [possible error] - Resource leak: fp
- ./_src/eidmw/pkcs11/log.c:185 [error] - Resource leak: fp
- ./_src/eidmw/pkcs11/log.c:311 [error] - Resource leak: fp
- ./_src/eidmw/pkcs11/phash.cpp:59 [possible error] - Memory leak: oHash
- ./_src/eidmw/sdk/samples/sign_csp/C++/main.cpp:53 [possible error] - Memory leak: data
- ./_src/eidmw/sdk/samples/sign_csp/C++/main.cpp:74 [possible 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, 16 Dec 2010 05:46:19 +0000, based on results by cppcheck 1.41-modif