Files
AnyPS5/core/libs/nid/src
MarcZX10 acdb14411b fix(nid): bound PE export name tables before allocating
The name vectors were sized from NumberOfNames before the name and ordinal arrays were range-checked. A NumberOfNames of 0xFFFFFFFF asked for about four billion strings and failed with std::bad_alloc.

Require the name array (4 bytes per entry) and the ordinal array (2 bytes per entry) to lie inside the file before any allocation, and throw a runtime_error otherwise.
2026-11-02 08:53:38 +00:00
..