mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
A PARAM.SFO up to the upload limit was parsed in full, and its TITLE, of any length, became the ROM search term. The search builds one SQL condition per word, so a title of millions of words exhausted the worker's memory before any query ran. Reject PARAM.SFO files over 64 KiB (real PSP saves are under 5 KiB) and ignore a TITLE longer than the 128-byte field the format defines. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>