Added check for PROCESS_VM_WRITE, without which, some programs go into an infinite loop Henry Blum <henry.blum at gmail.com>

Charles Davis cdavis at mymail.mines.edu
Sun May 9 00:45:41 CDT 2010


On 5/7/10 11:10 PM, Henry Blum wrote:
> -    if (status != STATUS_SUCCESS)
> +    if (status != STATUS_SUCCESS || (access & PROCESS_VM_WRITE))
According to this, opening a process and specifying the PROCESS_VM_WRITE
access right causes OpenProcess() to fail.

Why do you need this? And what about programs that legitimately need to
write to another process's VM?

Chip




More information about the wine-devel mailing list