emummc: sanitize raw image file find loop (thanks @AnalogMan)

This commit is contained in:
hexkyz 2019-06-17 19:47:47 +01:00 committed by GitHub
parent dfcba5e6d4
commit 7c37b7497b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -285,6 +285,9 @@ static bool nxboot_configure_emummc(exo_emummc_config_t *exo_emummc_config) {
part_limit = get_file_size(emummc_rawnand_path);
}
num_parts++;
} else {
/* No more image files. */
break;
}
}