From 10407cc8c195384d337485ece68c128c3293a00e Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Wed, 13 Jul 2022 13:35:07 +0200 Subject: [PATCH] DiscIO/VolumeVerifier: Don't try to verify data that would read out of bounds. --- Source/Core/DiscIO/VolumeVerifier.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/DiscIO/VolumeVerifier.cpp b/Source/Core/DiscIO/VolumeVerifier.cpp index 84ab51ef13..fc1eddfb19 100644 --- a/Source/Core/DiscIO/VolumeVerifier.cpp +++ b/Source/Core/DiscIO/VolumeVerifier.cpp @@ -1151,6 +1151,8 @@ void VolumeVerifier::Process() excess_bytes = 0; else excess_bytes -= bytes_over_max; + content_read = false; + group_read = false; } const bool is_data_needed = m_calculating_any_hash || content_read || group_read;