]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Support reading mtree files with tabs 1783/head
authorEric van Gyzen <eric@vangyzen.net>
Fri, 30 Sep 2022 15:28:09 +0000 (10:28 -0500)
committerEric van Gyzen <eric@vangyzen.net>
Fri, 30 Sep 2022 15:31:21 +0000 (10:31 -0500)
commit108c02b33e3db45fcbe9d1e124383e1942cd6498
treecae55f00bd967859e1f6170e5ce0ed9035729b66
parent01a280fbf0794f575eb39d718a558896add18d30
Support reading mtree files with tabs

Commit 45c5008c4 requires all characters in an mtree file to be
printable, as determined by `isprint()`.  This broke support for
reading mtree files with tab characters, which are valid and otherwise
supported by libarchive.  Allow them.  Add a unit test.

Fixes #1782
libarchive/archive_read_support_format_mtree.c
libarchive/test/test_read_format_mtree.c