Sebastian Lackner : services: Check for services without lpBinaryPathName in get_winedevice_process.

Alexandre Julliard julliard at winehq.org
Thu Sep 29 10:17:12 CDT 2016


Module: wine
Branch: master
Commit: 2035a8c7c84a5375144fdd70f951949ba7c5d818
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2035a8c7c84a5375144fdd70f951949ba7c5d818

Author: Sebastian Lackner <sebastian at fds-team.de>
Date:   Thu Sep 29 13:32:59 2016 +0200

services: Check for services without lpBinaryPathName in get_winedevice_process.

Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/services/services.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/programs/services/services.c b/programs/services/services.c
index a12215e..f7c47b5 100644
--- a/programs/services/services.c
+++ b/programs/services/services.c
@@ -751,6 +751,7 @@ static struct process_entry *get_winedevice_process(struct service_entry *servic
         if (!winedevice_entry->process) continue;
 
         if (winedevice_entry->is_wow64 != is_wow64) continue;
+        if (!winedevice_entry->config.lpBinaryPathName) continue;
         if (strcmpW(winedevice_entry->config.lpBinaryPathName, path)) continue;
 
         if (!winedevice_entry->config.lpLoadOrderGroup) continue;




More information about the wine-cvs mailing list