Commit f874126b authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

advapi32: Remove untriggerable check.

parent 5736c30c
...@@ -2107,9 +2107,6 @@ QueryServiceConfigW( SC_HANDLE hService, ...@@ -2107,9 +2107,6 @@ QueryServiceConfigW( SC_HANDLE hService,
n -= sizeof(WCHAR); n -= sizeof(WCHAR);
} }
if( n < 0 )
ERR("Buffer overflow!\n");
TRACE("Image path = %s\n", debugstr_w(lpServiceConfig->lpBinaryPathName) ); TRACE("Image path = %s\n", debugstr_w(lpServiceConfig->lpBinaryPathName) );
TRACE("Group = %s\n", debugstr_w(lpServiceConfig->lpLoadOrderGroup) ); TRACE("Group = %s\n", debugstr_w(lpServiceConfig->lpLoadOrderGroup) );
TRACE("Dependencies = %s\n", debugstr_w(lpServiceConfig->lpDependencies) ); TRACE("Dependencies = %s\n", debugstr_w(lpServiceConfig->lpDependencies) );
......
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