Never use CoSetProxyBlanket or CoInitializeSecurity

Rule description

  • Calls to subroutines CoSetProxyBlanket, CoInitializeSecurity and CoInitializeSecurityAlias can generate security breaches. Visual Expert will find such calls in PowerBuilder code to help remove them.


Non-compliant Code Example

SUBROUTINE CoInitializeSecurityAlias(string uExitCode) LIBRARY "ole32.dll" ALIAS FOR "CoInitializeSecurity"
SUBROUTINE CoInitializeSecurity(string uExitCode) LIBRARY "ole32.dll"
SUBROUTINE CoSetProxyBlanket(string uExitCode) LIBRARY "ole32.dll"
Visual Expert 2020