27 Mar
2025
27 Mar
'25
6:39 p.m.
On Thu Mar 27 10:55:34 2025 +0000, Alfred Agrell wrote:
*polguid is some uninitialized stack garbage from the caller, and will soon be overwritten. Better remove the asterisk. Better trace that HKEY too. Tracing global variables like that is rare; sounds useful, but nothing else in Wine does that. I don't know if it's a good or bad idea. Well, according to the SDK docs, the HKEY is unused and should be set to NULL. I've set it to non-null under Windows, and it doesn't seem to matter. Windows doesn't even throw an invalid parameter.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/7667#note_99253