mirror of
https://github.com/reactos/reactos.git
synced 2025-01-21 02:53:30 +08:00
On attempts to write to a read-only section view, return STATUS_ACCESS_VIOLATION, not STATUS_UNSUCCESSFUL. kernel32's UnhandledExceptionFilter depends on this for its automatic .rsrc deprotection. (Bug 3062)
svn path=/trunk/; revision=35163
This commit is contained in:
parent
359151f57a
commit
5a1ef6a0a8
@ -1286,7 +1286,7 @@ MmAccessFaultSectionView(PMM_AVL_TABLE AddressSpace,
|
||||
Region->Protect == PAGE_EXECUTE_READWRITE)))
|
||||
{
|
||||
DPRINT("Address 0x%.8X\n", Address);
|
||||
return(STATUS_UNSUCCESSFUL);
|
||||
return(STATUS_ACCESS_VIOLATION);
|
||||
}
|
||||
|
||||
if (IS_SWAP_FROM_SSE(Entry) ||
|
||||
|
Loading…
Reference in New Issue
Block a user