summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/Android
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2026-04-20 20:05:19 +0200
committerJosJuice <josjuice@gmail.com>2026-04-20 20:26:31 +0200
commita992245aa2c73f1fb94bf30e39d76a3487668546 (patch)
tree843d5ef9d829f255be4b5fa4a6db610c9ea0f607 /Source/Core/InputCommon/ControllerInterface/Android
parent97fff931fde1e6d2f988cc7e6abed5234850b18c (diff)
VolumeVerifier: Add extra validity checks for ticket and TMD
This fixes VolumeVerifier potentially calling TMDReader::GetIOSId for invalid TMDs. VolumeVerifier also has a call to TMDReader::GetContent that doesn't check if the TMD is valid. In practice, this can't get called with an invalid TMD because the previous commit made it so GetContentOffsets returns an empty vector if the TMD is invalid, but I've added a check inside TMDReader::GetContent just to be on the safe side. I also made VolumeVerifier show a specifically worded problem if the ticket or TMD is invalid. Before, invalid TMDs in Wii discs and WADs and invalid tickets in WADs would show a more generic problem.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/Android')
0 files changed, 0 insertions, 0 deletions