STANDARD: Potential Memory Mis-management. Variable Name: retBuffer
new [] without delete.
Line: 805 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\PPAnsiMisc.cpp


STANDARD: Potential Memory Mis-management. Variable Name: m_BufferPtr
new [] without delete.
Line: 528 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\PPCStringA.cpp


STANDARD: Potential Memory Mis-management. Variable Name: tmpBuffer
new [] without delete.
Line: 528 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\PPCStringA.cpp

new [] without delete.
Line: 234 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\PPCStringA.cpp


HIGH: Potentially Unsafe Code - LoadLibrary
Line: 140 - H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\PPIDCardSVAPI.cpp
The function searches several paths for a library if called with a filename, but no path. This can allow trojan DLLs to be deployed, regardless of the presence of the correct DLL. Manually check the code to ensure that the full path is specified.
	HINSTANCE Inst = LoadLibrary(DLLfileName);

STANDARD: Potential Memory Mis-management. Variable Name: pString
new [] without delete.
Line: 74 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\PPIDCardSVAPI.cpp


STANDARD: Potential Memory Mis-management. Variable Name: pB5_SDK
new [] without delete.
Line: 74 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\PPIDCardSVAPI.cpp

2 delete 
Multiple deletes detected. Check code paths manually to ensure that variables cannot be deleted more than once.
Line: 570 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\PPIDCardSVAPI.cpp


HIGH: Potentially Unsafe Code - LoadLibrary
Line: 112 - H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp
The function searches several paths for a library if called with a filename, but no path. This can allow trojan DLLs to be deployed, regardless of the presence of the correct DLL. Manually check the code to ensure that the full path is specified.
	dllHandle = LoadLibrary(tmpIniName);

HIGH: Potentially Unsafe Code - LoadLibrary
Line: 571 - H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp
The function searches several paths for a library if called with a filename, but no path. This can allow trojan DLLs to be deployed, regardless of the presence of the correct DLL. Manually check the code to ensure that the full path is specified.
		HINSTANCE Inst = LoadLibrary(DLLfileName);

HIGH: Potentially Unsafe Code - LoadLibrary
Line: 650 - H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp
The function searches several paths for a library if called with a filename, but no path. This can allow trojan DLLs to be deployed, regardless of the presence of the correct DLL. Manually check the code to ensure that the full path is specified.
		HINSTANCE Inst = LoadLibrary(DLLfileName);

STANDARD: Potential Memory Mis-management. Variable Name: pMsg
new [] without delete.
Line: 536 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp


STANDARD: Potential Memory Mis-management. Variable Name: pNewAnsiString
new [] without delete.
Line: 536 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 355 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp


STANDARD: Potential Memory Mis-management. Variable Name: ptmpBufferW
new [] without delete.
Line: 536 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 355 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 345 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp


STANDARD: Potential Memory Mis-management. Variable Name: poutmsg
new [] without delete.
Line: 536 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 355 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 345 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 489 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp


STANDARD: Potential Memory Mis-management. Variable Name: poutmsgtime
new [] without delete.
Line: 536 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 355 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 345 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 489 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 499 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp


STANDARD: Potential Memory Mis-management. Variable Name: filePath
new [] without delete.
Line: 536 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 355 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 345 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 489 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 499 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 512 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp


STANDARD: Potential Memory Mis-management. Variable Name: target->pHeader
new [] without delete.
Line: 536 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 355 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 345 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 489 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 499 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 512 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

malloc without free. The use of malloc() and free() functions in C++ code is not recommended and can result in errors that would otherwise have been avoided with new and delete.
Line: 592 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp


STANDARD: Potential Memory Mis-management. Variable Name: pBitmap->pHeader
new [] without delete.
Line: 536 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 355 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 345 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 489 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 499 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 512 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

malloc without free. The use of malloc() and free() functions in C++ code is not recommended and can result in errors that would otherwise have been avoided with new and delete.
Line: 592 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

malloc without free. The use of malloc() and free() functions in C++ code is not recommended and can result in errors that would otherwise have been avoided with new and delete.
Line: 618 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp


STANDARD: Potential Memory Mis-management. Variable Name: pszNewAddr
new [] without delete.
Line: 536 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 355 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 345 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 489 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 499 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 512 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

malloc without free. The use of malloc() and free() functions in C++ code is not recommended and can result in errors that would otherwise have been avoided with new and delete.
Line: 592 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

malloc without free. The use of malloc() and free() functions in C++ code is not recommended and can result in errors that would otherwise have been avoided with new and delete.
Line: 618 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 886 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp


STANDARD: Potential Memory Mis-management. Variable Name: pszRtnString
new [] without delete.
Line: 536 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 355 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 345 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 489 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 499 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 512 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

malloc without free. The use of malloc() and free() functions in C++ code is not recommended and can result in errors that would otherwise have been avoided with new and delete.
Line: 592 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

malloc without free. The use of malloc() and free() functions in C++ code is not recommended and can result in errors that would otherwise have been avoided with new and delete.
Line: 618 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 886 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp

new [] without delete.
Line: 891 FileName: H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_B5_SDK.cpp


HIGH: Potentially Unsafe Code - LoadLibrary
Line: 41 - H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPIDCard_GB_SDK.cpp
The function searches several paths for a library if called with a filename, but no path. This can allow trojan DLLs to be deployed, regardless of the presence of the correct DLL. Manually check the code to ensure that the full path is specified.
	dllHandle = LoadLibrary(tmpIniName);

HIGH: Potentially Unsafe Code - LoadLibrary
Line: 27 - H:\Project\IDCardSDK_win_cmd\PPIDCardSVAPI_VC2020\UPPImage.cpp
The function searches several paths for a library if called with a filename, but no path. This can allow trojan DLLs to be deployed, regardless of the presence of the correct DLL. Manually check the code to ensure that the full path is specified.
	dllHandle = LoadLibrary(tmpIniName);


