Files
6gbvram---16gb-ram/crates/victory-loader
Diego Casares 202d2853a9 fix(loader): prepare no longer overflows on RVAs past 4 GiB
prepare() added a relocation's page RVA to its in-page offset, and the
TLS callback field's RVA to the directory's RVA, with plain `+`. In a
malformed image either sum can pass u32::MAX: a debug build panics, and
a release build wraps to a wrong RVA. Skip a relocation target that has
no RVA, and treat a TLS field with no RVA as having no relocation to
clear.

(cherry picked from commit 95b990d39a07685b77a5f89492bb705d62d23bbc)
2026-11-27 17:51:23 -08:00
..