Jan. 23, 2024
9:50 a.m.
Jinoh Kang (@iamahuman) commented about dlls/ntdll/unix/server.c:
+ + +/*********************************************************************** + * NtContinueEx (NTDLL.@) + */ +NTSTATUS WINAPI NtContinueEx( CONTEXT *context, CONTINUE_OPTIONS *options ) { user_apc_t apc; NTSTATUS status; + BOOLEAN alertable; + const intptr_t alignment_bits = 16 - 1; /* (16-bytes on amd64) */ + + if (!context) + { + return STATUS_ACCESS_VIOLATION; + } This is made redundant by catch-all SIGSEGV handler for Unix side.
```suggestion:-3+0 ``` Try testing it, and you'll see that it (still) returns `STATUS_ACCESS_VIOLATION` ;-) -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4761#note_58645