diff options
| author | JosJuice <josjuice@gmail.com> | 2026-08-09 19:42:59 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2026-08-09 20:20:53 +0200 |
| commit | d2f7ed3602be867051639dcee2c660a1879d0b97 (patch) | |
| tree | 145eb72e8201983c407eea78999c27cb146835f7 /Source/Core/Common/ArmCPUDetect.cpp | |
| parent | cd3ea814628d36939340ef67a6edb19e6b094279 (diff) | |
Common: Fix LazyMemoryRegion::EnsureMemoryPagesWritable
If (offset + size) % BLOCK_SIZE was smaller than offset % BLOCK_SIZE,
the loop terminated one iteration too early, potentially leaving a block
read-only.
None of the existing users of LazyMemoryRegion could trigger this bug,
because they never made EnsureMemoryPagesWritable calls that straddled
across two blocks, but the next commit will add a new use that does.
Diffstat (limited to 'Source/Core/Common/ArmCPUDetect.cpp')
0 files changed, 0 insertions, 0 deletions
