mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-24 19:14:40 +00:00
Fix out of bounds read
This commit is contained in:
parent
ed1e3c56ef
commit
30807d0e53
@ -287,7 +287,7 @@ struct PageManager::Impl {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
for (size_t page = start_range.first; page <= end_range.second; ++page) {
|
for (size_t page = start_range.first; page < end_range.second; ++page) {
|
||||||
PageState& state = cached_pages[base_page + page];
|
PageState& state = cached_pages[base_page + page];
|
||||||
const bool update = mask.Get(page);
|
const bool update = mask.Get(page);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user