5 Sep
2022
5 Sep
'22
12:11 p.m.
Huw Davies (@huw) commented about dlls/advapi32/tests/registry.c:
+ char pathname[MAX_PATH]; + char **argv; + int argc; /* Load pointers for functions that are not available in all Windows versions */ InitFunctionPtrs(); - + init_temp_folder(); + argc = winetest_get_mainargs(&argv); setup_main_key(); + + if (argc >= 3) + { + if (!strcmp(argv[2], "RegLoadAppKey")) + test_reg_load_app_key(); + + delete_key( hkey_main ); This is going to delete the main key while the main process is still running.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/766#note_7674