MacOSX: Apply potential fix for #16376

See #16376.

Tested not to break anything on MacOS Mojave. Unfortunately I can't test on Ventura on my x64 mac, it's too old.
This commit is contained in:
Henrik Rydgård 2022-11-26 10:38:23 +01:00
parent 9c033fb57c
commit f4b78bacd7

View file

@ -127,7 +127,7 @@ static void ExceptionThread(mach_port_t port) {
#pragma pack()
memset(&msg_in, 0xee, sizeof(msg_in));
memset(&msg_out, 0xee, sizeof(msg_out));
mach_msg_header_t* send_msg = nullptr;
mach_msg_header_t* send_msg = &msg_out.Head;
mach_msg_size_t send_size = 0;
mach_msg_option_t option = MACH_RCV_MSG;
while (true) {