17 Sep
2022
17 Sep
'22
3:38 p.m.
Jinoh Kang (@iamahuman) commented about dlls/ntdll/unix/virtual.c:
get_committed_size( view, p->VirtualAddress, &vprot, VPROT_COMMITTED ) && (vprot & VPROT_COMMITTED)) { - if (!f || fseek( f, ((UINT_PTR)p->VirtualAddress >> page_shift) * sizeof(pagemap), SEEK_SET ) == -1 || - fread( &pagemap, sizeof(pagemap), 1, f ) != 1) + if (pagemap_fd != -1 ||
```suggestion:-0+0 if (pagemap_fd == -1 || ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/852#note_8741