[Bug 10941] dpkg no longer extracts symbolic links

bugzilla at busybox.net bugzilla at busybox.net
Fri Apr 13 09:32:44 UTC 2018


https://bugs.busybox.net/show_bug.cgi?id=10941

--- Comment #1 from Denys Vlasenko <vda.linux at googlemail.com> ---
Does this patch fix it?

--- a/archival/libarchive/get_header_ar.c
+++ b/archival/libarchive/get_header_ar.c
@@ -127,8 +127,10 @@ char FAST_FUNC get_header_ar(archive_handle_t
*archive_handle)
                archive_handle->action_header(typed);
 #if ENABLE_DPKG || ENABLE_DPKG_DEB
                if (archive_handle->dpkg__sub_archive) {
-                       while
(archive_handle->dpkg__action_data_subarchive(archive_handle->dpkg__sub_archive)
== EXIT_SUCCESS)
+                       struct archive_handle_t *sa =
archive_handle->dpkg__sub_archive;
+                       while (archive_handle->dpkg__action_data_subarchive(sa)
== EXIT_SUCCESS)
                                continue;
+                       create_symlinks_from_list(sa->symlink_placeholders);
                } else
 #endif
                        archive_handle->action_data(archive_handle);

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list