13 Nov
2022
13 Nov
'22
5:02 p.m.
Jinoh Kang (@iamahuman) commented about dlls/kernelbase/file.c:
TRACE( "(%p %p %p %lu %d)\n", file, overlapped, result, timeout, alertable );
- status = overlapped->Internal; + /* Paired with the write-release in set_async_iosb() in ntdll; see the + * latter for details. */ + status = ReadAcquire( (LONG *)overlapped->Internal );
You forgot to take the address of `overlapped->Internal`. ```suggestion:-0+0 status = ReadAcquire( (LONG *)&overlapped->Internal ); ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/1342#note_15607