Files
ppsspp/Core/Util
Henrik Rydgård c5849ada33 GameDB: validate CSV structure before indexing into it
LoadIfNeeded() indexed lines[0] unconditionally after splitting the
bundled CSV into lines, crashing if the file were empty. It also used
GetColumnIndex()'s result directly as an index into each row's fields
without checking for its (size_t)-1 "not found" sentinel, which would
have produced a huge out-of-bounds index on every row if any of the
expected column headers were missing. Both require a corrupted or
replaced redump.csv asset to trigger, but are simple, cheap checks to
add.
2026-08-11 08:43:52 +02:00
..
2026-08-09 22:10:54 +02:00
2025-07-11 15:09:15 +02:00
2026-08-03 19:11:07 +02:00
2026-08-07 11:24:22 +02:00
2025-03-27 01:58:53 +01:00