summaryrefslogtreecommitdiff
path: root/tests/runtest.sh
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2018-10-08 15:49:40 +0200
committerJan Kotas <jkotas@microsoft.com>2018-10-08 06:49:40 -0700
commit340b5708ce38230f1af66acf832547996aa0b2ff (patch)
tree9454baaa06ddd617bf70140ee51880dd828d6d7e /tests/runtest.sh
parente57c4fb8ff2346d5420247183b9af2b83184516c (diff)
downloadcoreclr-340b5708ce38230f1af66acf832547996aa0b2ff.tar.gz
coreclr-340b5708ce38230f1af66acf832547996aa0b2ff.tar.bz2
coreclr-340b5708ce38230f1af66acf832547996aa0b2ff.zip
Fix SegmentInitialize for OS_PAGE_SIZE > 4k (#20280)
The function was incorrectly rounding the dwCommit down instead of up to OS_PAGE_SIZE. It accidentally works for OSes where page size is 4096 bytes, because the dwCommit is 4096. But for ARM64 Linux distros where the page size is 64kB, this was committing zero bytes and so the runtime initialization was crashing a bit later when it tried to access the memory it was supposed to be commited. This problem was introduced in #17769.
Diffstat (limited to 'tests/runtest.sh')
0 files changed, 0 insertions, 0 deletions