From 900febec29bcfee8b7a1319ec74d9cb1bfb9d157 Mon Sep 17 00:00:00 2001 From: Khang Date: Wed, 15 Jul 2026 02:12:31 -0400 Subject: IOS/ES: Prevent reading TMDs that are too small --- Source/Core/DiscIO/VolumeWad.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/DiscIO/VolumeWad.cpp') diff --git a/Source/Core/DiscIO/VolumeWad.cpp b/Source/Core/DiscIO/VolumeWad.cpp index 39961a6c18..974592fea0 100644 --- a/Source/Core/DiscIO/VolumeWad.cpp +++ b/Source/Core/DiscIO/VolumeWad.cpp @@ -51,7 +51,7 @@ VolumeWAD::VolumeWAD(std::unique_ptr 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; } -- cgit v1.2.3