diff options
| author | quackottu <224479491+quackottu@users.noreply.github.com> | 2026-11-22 12:48:35 +0530 |
|---|---|---|
| committer | quackottu <224479491+quackottu@users.noreply.github.com> | 2026-11-22 12:48:35 +0530 |
| commit | 236b0acec3891b773ead57d3113b2f469d0e4a9f (patch) | |
| tree | beeaa4ed1f7b1ffa6e86d8bf3bc1b536b596cdc0 /runtime/src/thread_stacks.cpp | |
| parent | c63773d51235d72250d48699f29830ac9ddafd60 (diff) | |
pe_loader: honour NumberOfRvaAndSizes, and refuse a forwarder ordinal past 65535
Data directories past NumberOfRvaAndSizes were read anyway (only the
exception directory checked the count), so stale bytes there were parsed
as import, delay-import, export or relocation tables. And resolve_forwarder
range-checked the ordinal before adding each digit, so '#65537' passed and
was cast to ordinal 1. The hand-built test images now declare their 16
directories.
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions