]> git.ipfire.org Git - thirdparty/libarchive.git/commit
rar: Fix out ouf boundary access with large files (#2179)
authorTobias Stoeckmann <stoeckmann@users.noreply.github.com>
Sat, 11 May 2024 17:12:03 +0000 (19:12 +0200)
committerGitHub <noreply@github.com>
Sat, 11 May 2024 17:12:03 +0000 (10:12 -0700)
commit34338d6c4b3495ba0fea3baa12256efb367ad1e6
treefb41cd68a67b16c4295f3391ad80e147c1f6cfe2
parentcd95ec3b72d642d15bedecff0f47122e27a022b1
rar: Fix out ouf boundary access with large files (#2179)

If a header has the FHD_LARGE flag set, it is not verified that enough
bytes have been read. Check boundaries before accessing the additional
bytes.
libarchive/archive_read_support_format_rar.c