6 Dec
2023
6 Dec
'23
5:12 p.m.
Paul Gofman (@gofman) commented about server/process.c:
+ struct list *ptr; + + if (req->flags > 1) + { + set_error( STATUS_INVALID_PARAMETER ); + return; + } + + if (!req->last) + { + ptr = req->flags ? list_tail( &process_list ) : list_head( &process_list ); + } + else + { + if (!(process = get_process_from_handle( req->last, req->access ))) + return; I doubt it should be req->access here but hard to say for sure without some testing.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4611#note_55226