DescriptionMake PartitionAllocDeathTest.GuardPages pass on Win64.
On Windows, the allocation granularity is 64kB instead of 4kB elsewhere,
so if a multiple of 4kB data is requested from partitionAlloc() there
is some free space at the end. On 32-bit 4kB following the allocation
is mapped as inaccessible, but on 64-bit this isn't done since ASLR
should cover writes that are far enough out-of-bounds. So make sure
GuardPages writes outside of the allocated memory, and not into the
free space at the end of the allocation.
BUG=524308
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201453
Patch Set 1 #Patch Set 2 : posix #Messages
Total messages: 9 (2 generated)
|