]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Fix possible off-by-one when dealing with readlink(2)
authorPawel Jakub Dawidek <pjd@FreeBSD.org>
Sun, 22 Dec 2019 00:10:38 +0000 (01:10 +0100)
committerMartin Matuska <martin@matuska.org>
Sat, 28 Dec 2019 23:05:13 +0000 (00:05 +0100)
commit1dae5a549fe4ab99fd3a49a9edcf897a7b2b1844
tree6dc76246beae6c3567b20b069bab1af75f408c4b
parent4f085eea879e2be745f4d9bf57e8513ae48157f4
Fix possible off-by-one when dealing with readlink(2)

readlink(2) and readlinkat(2) don't append a null byte to the given buffer.
libarchive/archive_read_disk_entry_from_file.c
test_utils/test_main.c