summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/OpcodeDecoding.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2026-07-26 18:15:07 +1200
committerOatmealDome <julian@oatmealdome.me>2026-08-10 22:47:43 -0400
commit22f15fbb97371c18037fca630f6e3d03966c7a1d (patch)
tree7cc1c5bd1284ed4491bc4dcbf824de33ffbfe60a /Source/Core/VideoCommon/OpcodeDecoding.cpp
parent7bcf78b7eafc9ca122af2a6111fe75fdc8534721 (diff)
GCZ: Don't trust block_num either
SectorReader::ReadChunk does do some validation on it, but it only checks against the original disc size (reported by the GCZ file). It has no idea how many blocks the header claimed the disc had. A maliciously crafted GCZ file could trigger read overflows off the end of the m_block_pointers/m_hashes arrays.
Diffstat (limited to 'Source/Core/VideoCommon/OpcodeDecoding.cpp')
0 files changed, 0 insertions, 0 deletions