services: Check for services without lpBinaryPathName in get_winedevice_process.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sebastian Lackner 2016-09-29 13:32:59 +02:00 committed by Alexandre Julliard
parent 06072b447e
commit 2035a8c7c8
1 changed files with 1 additions and 0 deletions

View File

@ -751,6 +751,7 @@ static struct process_entry *get_winedevice_process(struct service_entry *servic
if (!winedevice_entry->process) continue; if (!winedevice_entry->process) continue;
if (winedevice_entry->is_wow64 != is_wow64) continue; if (winedevice_entry->is_wow64 != is_wow64) continue;
if (!winedevice_entry->config.lpBinaryPathName) continue;
if (strcmpW(winedevice_entry->config.lpBinaryPathName, path)) continue; if (strcmpW(winedevice_entry->config.lpBinaryPathName, path)) continue;
if (!winedevice_entry->config.lpLoadOrderGroup) continue; if (!winedevice_entry->config.lpLoadOrderGroup) continue;