]> git.ipfire.org Git - thirdparty/libarchive.git/commit
read: Fix memory corruption in client_switch_proxy
authorTobias Stoeckmann <tobias@stoeckmann.org>
Fri, 15 May 2026 15:08:55 +0000 (17:08 +0200)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Fri, 15 May 2026 16:43:09 +0000 (18:43 +0200)
commiteffba1c8cb919b38e9d279b0aabc7262eeb400d3
tree57fbef84faee4a81e75c21a21fd1d420ed4c9590
parent515380e7e5df4f2cf8fc9228d376ba34065a7ab2
read: Fix memory corruption in client_switch_proxy

Switching a multi-volume archive file with another active filter, e.g.
decompression, can lead to memory corruption due to modifying the wrong
private data (self->data).

Use highest upstream filter to replace the correct private data.

Resolves GHSA-qf8j-cq3h-8m2m.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
libarchive/archive_read.c