6 Dec
2023
6 Dec
'23
3:56 a.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_id( req->last ))) + return; This doesn't look right, you probably want get_process_from_handle().
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4611#note_55170