FS#60433 - [unzip] Files wrongly unzipped as symlinks
Attached to Project:
Arch Linux
Opened by Michael Ehrenreich (mickdermack) - Tuesday, 16 October 2018, 18:07 GMT
Last edited by Jonas Witschel (diabonas) - Wednesday, 03 November 2021, 13:33 GMT
Opened by Michael Ehrenreich (mickdermack) - Tuesday, 16 October 2018, 18:07 GMT
Last edited by Jonas Witschel (diabonas) - Wednesday, 03 November 2021, 13:33 GMT
|
Details
Description: The symlink flag is not initialized to 0. After
unzipping a symlink, other files may be wrongly unzipped as
symlinks.
Debian patch: https://sources.debian.org/patches/unzip/6.0-21/06-initialize-the-symlink-flag.patch/ Since the last upstream version was released 9 years ago, I believe this patch should be added. Additional info: * tested package version: 6.0-12 Steps to reproduce: 1. Download ex. https://github.com/raspberrypi/linux/archive/rpi-4.14.y.zip 2. `unzip rpi-4.14.y.zip` 3. Notice that some files get unzipped as symlinks, with their content as target. ex.: linux-rpi-4.14.y/tools/testing/selftests/timers/rtctest_setdate.c |
This task depends upon
Closed by Jonas Witschel (diabonas)
Wednesday, 03 November 2021, 13:33 GMT
Reason for closing: Fixed
Additional comments about closing: unzip 6.0-15 in [testing]
Wednesday, 03 November 2021, 13:33 GMT
Reason for closing: Fixed
Additional comments about closing: unzip 6.0-15 in [testing]
Comment by Darek (blablo) - Monday,
31 December 2018, 13:07 GMT
Comment by Shaarad (shaaraddalvi) -
Saturday, 05 January 2019, 18:30 GMT
Comment by Arya (ImperatorStorm) -
Friday, 10 September 2021, 05:07 GMT
Could another developer fix it? Lukas seems inactive for some
time.
Can Jelle take this up? He was the last packager for unzip..
Debian patch file is a deadlink, patch file reuploaded at
https://build.opensuse.org/package/view_file/home:glaubitz:branches:Archiving/unzip/unzip-initialize-the-symlink-flag.patch?expand=1