Commit c4ae13e3 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

server: Use GENERIC_READ | GENERIC_WRITE in inherit_console().

The inherited console must have at least FILE_READ_DATA | FILE_WRITE_DATA. This also matches the access rights in AllocConsole(). Signed-off-by: 's avatarZebediah Figura <z.figura12@gmail.com> Signed-off-by: 's avatarJacek Caban <jacek@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent d0946955
......@@ -784,7 +784,7 @@ obj_handle_t inherit_console( struct thread *parent_thread, obj_handle_t handle,
process->console = console;
console->num_proc++;
return alloc_handle( process, process->console,
SYNCHRONIZE | FILE_READ_ATTRIBUTES | FILE_WRITE_ATTRIBUTES, 0 );
SYNCHRONIZE | GENERIC_READ | GENERIC_WRITE, 0 );
}
struct thread *console_get_renderer( struct console_input *console )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment