mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Fix #16626 fix crash parsing truncated 7z file
This commit is contained in:
parent
aa36f75dba
commit
e9682cbbd6
@ -407,6 +407,7 @@ static int sevenzip_parse_file_init(file_archive_transfer_t *state,
|
||||
error:
|
||||
if (sevenzip_context)
|
||||
sevenzip_parse_file_free(sevenzip_context);
|
||||
state->context = NULL;
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user