mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-02-05 05:36:22 +01:00
a6599c30b4
The `end` pointer for `interval` was incorrectly calculated as `interval.data() + interval.size_bytes()` which would be incorrect when the interval span type is not `u8` as the pointer derived from `interval.data()` would be a pointer to the span type rather than a byte pointer and be subject to arithmetic of that object's size rather than in terms of a byte.