[2/2] ntdll: Allow reading from a VPROT_WRITECOPY protected memory

Francois Gouget fgouget at free.fr
Tue Sep 6 08:31:21 CDT 2011


On Tue, 6 Sep 2011, Dmitry Timoshkov wrote:
[...]
> - if (sec->Characteristics & IMAGE_SCN_MEM_WRITE) vprot |=
> VPROT_READ|VPROT_WRITE;
> + if (sec->Characteristics & IMAGE_SCN_MEM_WRITE) vprot |= VPROT_WRITECOPY;
> 
> So, probably restore adding VPROT_READ.

Yep, that works.
André, I'll let you do the honors for the patch.


-- 
Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
                            $live{free} || die "";


More information about the wine-devel mailing list