HIGH: Potentially Unsafe Code - Possible printf( ) Format String Vulnerability
Line: 249 - H:\Project\IDCardSDK_win_cmd\IDCardRecog_VC2020\IDCardRecog.cpp
The call to printf appears to be printing a variable directly to standard output. Check whether this variable can be controlled or altered by the user to determine whether a format string vulnerability exists.
					printf(csParam);

HIGH: Potentially Unsafe Code - LoadLibrary
Line: 269 - H:\Project\IDCardSDK_win_cmd\IDCardRecog_VC2020\IDCardRecog.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 hins = LoadLibrary("PPIDCardSVAPI.dll");

HIGH: Potentially Unsafe Code - Possible printf( ) Format String Vulnerability
Line: 380 - H:\Project\IDCardSDK_win_cmd\IDCardRecog_VC2020\IDCardRecog.cpp
The call to printf appears to be printing a variable directly to standard output. Check whether this variable can be controlled or altered by the user to determine whether a format string vulnerability exists.
								printf(pChar);

HIGH: Potentially Unsafe Code - Possible printf( ) Format String Vulnerability
Line: 455 - H:\Project\IDCardSDK_win_cmd\IDCardRecog_VC2020\IDCardRecog.cpp
The call to printf appears to be printing a variable directly to standard output. Check whether this variable can be controlled or altered by the user to determine whether a format string vulnerability exists.
									printf(errormsg);

HIGH: Potentially Unsafe Code - Possible printf( ) Format String Vulnerability
Line: 464 - H:\Project\IDCardSDK_win_cmd\IDCardRecog_VC2020\IDCardRecog.cpp
The call to printf appears to be printing a variable directly to standard output. Check whether this variable can be controlled or altered by the user to determine whether a format string vulnerability exists.
								printf(errormsg);

HIGH: Potentially Unsafe Code - Possible printf( ) Format String Vulnerability
Line: 507 - H:\Project\IDCardSDK_win_cmd\IDCardRecog_VC2020\IDCardRecog.cpp
The call to printf appears to be printing a variable directly to standard output. Check whether this variable can be controlled or altered by the user to determine whether a format string vulnerability exists.
			printf(msg);

STANDARD: Potential Memory Mis-management. Variable Name: pString
new [] without delete.
Line: 28 FileName: H:\Project\IDCardSDK_win_cmd\IDCardRecog_VC2020\IDCardRecog.cpp


STANDARD: Potential Memory Mis-management. Variable Name: pMsg
new [] without delete.
Line: 28 FileName: H:\Project\IDCardSDK_win_cmd\IDCardRecog_VC2020\IDCardRecog.cpp

new [] without delete.
Line: 113 FileName: H:\Project\IDCardSDK_win_cmd\IDCardRecog_VC2020\IDCardRecog.cpp


STANDARD: Potential Memory Mis-management. Variable Name: pResult
new [] without delete.
Line: 28 FileName: H:\Project\IDCardSDK_win_cmd\IDCardRecog_VC2020\IDCardRecog.cpp

new [] without delete.
Line: 113 FileName: H:\Project\IDCardSDK_win_cmd\IDCardRecog_VC2020\IDCardRecog.cpp

new [] without delete.
Line: 279 FileName: H:\Project\IDCardSDK_win_cmd\IDCardRecog_VC2020\IDCardRecog.cpp


STANDARD: Potential Memory Mis-management. Variable Name: pOut
new [] without delete.
Line: 28 FileName: H:\Project\IDCardSDK_win_cmd\IDCardRecog_VC2020\IDCardRecog.cpp

new [] without delete.
Line: 113 FileName: H:\Project\IDCardSDK_win_cmd\IDCardRecog_VC2020\IDCardRecog.cpp

new [] without delete.
Line: 279 FileName: H:\Project\IDCardSDK_win_cmd\IDCardRecog_VC2020\IDCardRecog.cpp

new [] without delete.
Line: 413 FileName: H:\Project\IDCardSDK_win_cmd\IDCardRecog_VC2020\IDCardRecog.cpp


STANDARD: Potential Memory Mis-management. Variable Name: pChar
new [] without delete.
Line: 28 FileName: H:\Project\IDCardSDK_win_cmd\IDCardRecog_VC2020\IDCardRecog.cpp

new [] without delete.
Line: 113 FileName: H:\Project\IDCardSDK_win_cmd\IDCardRecog_VC2020\IDCardRecog.cpp

new [] without delete.
Line: 279 FileName: H:\Project\IDCardSDK_win_cmd\IDCardRecog_VC2020\IDCardRecog.cpp

new [] without delete.
Line: 413 FileName: H:\Project\IDCardSDK_win_cmd\IDCardRecog_VC2020\IDCardRecog.cpp

new [] without delete.
Line: 377 FileName: H:\Project\IDCardSDK_win_cmd\IDCardRecog_VC2020\IDCardRecog.cpp



