]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Fix max path-length metadata writing (#2243)
authorSam Bingner <sam@bingner.com>
Fri, 5 Jul 2024 19:34:43 +0000 (09:34 -1000)
committerGitHub <noreply@github.com>
Fri, 5 Jul 2024 19:34:43 +0000 (12:34 -0700)
commit2e73ea3a7db1c3c743c28a0d2dd0456a43e96b96
treeddae9d2a2141c5b2d6455f59dc7d668b5bf2a216
parent1382d671a4bc32155cbb52a60cf9937120f56028
Fix max path-length metadata writing (#2243)

Previous code added `.XXXXXX` to the end of the filename to write the
mac metadata. This is a problem if the filename is at or near the
filesystem max path length. This reuses the same code used by
create_tempdatafork to ensure that the filename is not too long.
libarchive/archive_write_disk_posix.c