From 6fccc5ecd48f204d60db036d4bfe365c5a9ff216 Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Thu, 1 Mar 2007 06:22:34 +0000 Subject: Because the buffer gets released immediately, I need to copy the symlink target name, not just copy the reference. This problem sometimes caused crashes when extracting symlinks from ISO9660 images. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to: Diego "Flameeyes" Pettenò --- lib/libarchive/archive_entry.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/libarchive/archive_entry.h') diff --git a/lib/libarchive/archive_entry.h b/lib/libarchive/archive_entry.h index 5e6c9fdea372..2604f8623540 100644 --- a/lib/libarchive/archive_entry.h +++ b/lib/libarchive/archive_entry.h @@ -130,6 +130,7 @@ void archive_entry_set_rdevmajor(struct archive_entry *, dev_t); void archive_entry_set_rdevminor(struct archive_entry *, dev_t); void archive_entry_set_size(struct archive_entry *, int64_t); void archive_entry_set_symlink(struct archive_entry *, const char *); +void archive_entry_copy_symlink(struct archive_entry *, const char *); void archive_entry_copy_symlink_w(struct archive_entry *, const wchar_t *); void archive_entry_set_uid(struct archive_entry *, uid_t); void archive_entry_set_uname(struct archive_entry *, const char *); -- cgit v1.2.3