mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +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:
|
error:
|
||||||
if (sevenzip_context)
|
if (sevenzip_context)
|
||||||
sevenzip_parse_file_free(sevenzip_context);
|
sevenzip_parse_file_free(sevenzip_context);
|
||||||
|
state->context = NULL;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user