Vincent Povirk : mscoree: Ignore empty privatePath.
Module: wine Branch: master Commit: a391492a96b2e528067b1925486567578d0bfc34 URL: https://source.winehq.org/git/wine.git/?a=commit;h=a391492a96b2e528067b19254... Author: Vincent Povirk <vincent(a)codeweavers.com> Date: Thu Dec 5 11:11:54 2019 -0600 mscoree: Ignore empty privatePath. Signed-off-by: Vincent Povirk <vincent(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/mscoree/corruntimehost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/mscoree/corruntimehost.c b/dlls/mscoree/corruntimehost.c index e932a7f58b..a900ed6a3e 100644 --- a/dlls/mscoree/corruntimehost.c +++ b/dlls/mscoree/corruntimehost.c @@ -1478,7 +1478,7 @@ __int32 WINAPI _CorExeMain(void) wcscat(config_file, dotconfig); hr = parse_config_file(config_file, &parsed_config); - if (SUCCEEDED(hr) && parsed_config.private_path) + if (SUCCEEDED(hr) && parsed_config.private_path && parsed_config.private_path[0]) { for(i = 0; parsed_config.private_path[i] != 0; i++) if (parsed_config.private_path[i] == ';') number_of_private_paths++;
participants (1)
-
Alexandre Julliard