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
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

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]
Comment by Darek (blablo) - Monday, 31 December 2018, 13:07 GMT
Could another developer fix it? Lukas seems inactive for some time.
Comment by Shaarad (shaaraddalvi) - Saturday, 05 January 2019, 18:30 GMT
Can Jelle take this up? He was the last packager for unzip..
Comment by Arya (ImperatorStorm) - Friday, 10 September 2021, 05:07 GMT

Loading...