Re: [PATCH v5 0/3] MR8834: server: Use process_vm_writev / process_vm_readv instead of ptrace when available.
The code in `req_write_process_memory` calling write_process_memory is: ``` ... if ((process = get_process_from_handle( req->handle, PROCESS_VM_WRITE ))) { data_size_t len = get_req_data_size(); reply->written = 0; if (len) write_process_memory( process, req->addr, len, get_req_data(), &reply->written ); release_object( process ); } ``` reply->written was just assigned and it didn't crash. However, address of that which got to `write_process_memory` is bogus. Can it happen by any chance that something went wrong with the build, if not assuming some mindbreaking guesses or compiler errors that could happen if some compiled .o files are stale?? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8834#note_120932
participants (1)
-
Paul Gofman (@gofman)