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.