https://bugs.winehq.org/show_bug.cgi?id=55928
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu@mailbox.org
--- Comment #3 from Bernhard Übelacker bernhardu@mailbox.org --- I could reproduce it with compiling with this line: clang++ -O0 -g -Wl,/debug -fsanitize=undefined -lntdll main.cpp -o main.exe
Following modification would fix the alignment. Nearby there are similar lines to align the "pos" pointer.
dlls/ntdll/unix/system.c @@ -2527,2 +2527,3 @@ static unsigned int get_system_process_info + (name_len + 1) * sizeof(WCHAR); + proc_len = (proc_len + 7) & ~7; *len += proc_len;