services: Check for services without lpBinaryPathName in get_winedevice_process.

Sebastian Lackner sebastian at fds-team.de
Thu Sep 29 06:32:59 CDT 2016


Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
---

For https://github.com/Winetricks/winetricks/issues/673.

 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;
-- 
2.9.0



More information about the wine-patches mailing list