unzip: fix symlink unpacking issues on larger zips

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Shyim 2022-07-15 09:29:03 +02:00 committed by Sergei Trofimovich
parent d7b863c911
commit 41bf342f0a

View File

@ -42,6 +42,10 @@ stdenv.mkDerivation rec {
name = "CVE-2019-13232-3.patch";
sha256 = "1jvs7dkdqs97qnsqc6hk088alhv8j4c638k65dbib9chh40jd7pf";
})
(fetchurl {
url = "https://sources.debian.org/data/main/u/unzip/6.0-26/debian/patches/06-initialize-the-symlink-flag.patch";
sha256 = "1h00djdvgjhwfb60wl4qrxbyfsbbnn1qw6l2hkldnif4m8f8r1zj";
})
] ++ lib.optional enableNLS
(fetchurl {
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/app-arch/unzip/files/unzip-6.0-natspec.patch?id=56bd759df1d0c750a065b8c845e93d5dfa6b549d";