]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Restore modified path after lstat
authorAndrew Gregory <andrew.gregory.8@gmail.com>
Fri, 15 Jan 2016 07:40:00 +0000 (02:40 -0500)
committerAndrew Gregory <andrew.gregory.8@gmail.com>
Tue, 23 Feb 2016 04:15:25 +0000 (23:15 -0500)
commit6a7b8adb9c70593159831161659de2d2898045f0
tree2a36d3f2ba903adf78487f7c30dea5ea527197ec
parent3477e4e33fb83a721ba274e49df9c2c92e4c953d
Restore modified path after lstat

check_symlinks is intended to check each component of a path, but failed
to restore the stripped trailing components after each iteration,
leaving a NUL byte in the middle of the path.
libarchive/archive_write_disk_posix.c