Skip to content

Commit

Permalink
Fix libretro#16626 fix crash parsing truncated 7z file
Browse files Browse the repository at this point in the history
  • Loading branch information
warmenhoven authored and Sunderland93 committed Dec 26, 2024
1 parent 4db8e08 commit dd0660c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libretro-common/file/archive_file_7z.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit dd0660c

Please sign in to comment.