Commit 26bc15a8 authored by Zhangrong Huang's avatar Zhangrong Huang Committed by Alexandre Julliard

secur32: Fix possible crash while loading SSP providers from registry.

parent 0e4f8d1e
......@@ -567,8 +567,9 @@ static void SECUR32_initializeProviders(void)
{
WCHAR *ptr;
size = size / sizeof(WCHAR);
for (ptr = securityPkgNames;
ptr < (PWSTR)((PBYTE)securityPkgNames + size); )
ptr < securityPkgNames + size; )
{
WCHAR *comma;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment