From f874126becdd78c5ca4fd4a9261f1059dc7b94b6 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sun, 18 Nov 2007 07:03:09 +0100 Subject: [PATCH] advapi32: Remove untriggerable check. --- dlls/advapi32/service.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/dlls/advapi32/service.c b/dlls/advapi32/service.c index 63fd076959e..3acab45ed2f 100644 --- a/dlls/advapi32/service.c +++ b/dlls/advapi32/service.c @@ -2107,9 +2107,6 @@ QueryServiceConfigW( SC_HANDLE hService, n -= sizeof(WCHAR); } - if( n < 0 ) - ERR("Buffer overflow!\n"); - TRACE("Image path = %s\n", debugstr_w(lpServiceConfig->lpBinaryPathName) ); TRACE("Group = %s\n", debugstr_w(lpServiceConfig->lpLoadOrderGroup) ); TRACE("Dependencies = %s\n", debugstr_w(lpServiceConfig->lpDependencies) );