]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Do not truncate seek requests 2686/head
authorTobias Stoeckmann <tobias@stoeckmann.org>
Fri, 27 Jun 2025 15:24:15 +0000 (17:24 +0200)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Sun, 29 Jun 2025 19:35:44 +0000 (21:35 +0200)
commit3997a5f28a3988f3ec6a288dc5f9f5abb3439249
tree9d9632d9c41586523b93d410b0da2d1ca95b30e1
parentd01dc496d3990f3fdefafa8ebd384a25955f5d33
Do not truncate seek requests

If a seek cannot be fulfilled, fail directly with EOVERFLOW to match
regular lseek behavior.

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