Merge pull request #14732 from khang06/small-tmd-check

IOS/ES: Prevent reading TMDs that are too small
This commit is contained in:
Admiral H. Curtiss
2026-07-15 22:08:12 +02:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -51,7 +51,7 @@ VolumeWAD::VolumeWAD(std::unique_ptr<BlobReader> reader) : m_reader(std::move(re
if (!IOS::ES::IsValidTMDSize(m_tmd_size))
{
ERROR_LOG_FMT(DISCIO, "TMD is too large: {} bytes", m_tmd_size);
ERROR_LOG_FMT(DISCIO, "TMD has an invalid size: {} bytes", m_tmd_size);
return;
}