Version in base suite: 5.3.1-1+deb12u1 Base version: reprepro_5.3.1-1+deb12u1 Target version: reprepro_5.3.1-1+deb12u2 Base file: /srv/ftp-master.debian.org/ftp/pool/main/r/reprepro/reprepro_5.3.1-1+deb12u1.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/r/reprepro/reprepro_5.3.1-1+deb12u2.dsc changelog | 7 +++ patches/0002-uncompress-prevent-reprepro-from-hanging-on-unzstd.patch | 21 ++++++++++ patches/series | 1 3 files changed, 29 insertions(+) Unrecognised file line in .dsc: -----BEGIN PGP SIGNATURE----- diff -Nru reprepro-5.3.1/debian/changelog reprepro-5.3.1/debian/changelog --- reprepro-5.3.1/debian/changelog 2023-08-23 10:33:31.000000000 +0000 +++ reprepro-5.3.1/debian/changelog 2024-07-16 20:48:05.000000000 +0000 @@ -1,3 +1,10 @@ +reprepro (5.3.1-1+deb12u2) bookworm; urgency=medium + + * uncompress: prevent reprepro from hanging on unzstd + (Closes: #1056380, LP: #2047775) + + -- Bastian Germann Tue, 16 Jul 2024 22:48:05 +0200 + reprepro (5.3.1-1+deb12u1) bookworm; urgency=medium * Upload to stable with ack from maintainer. diff -Nru reprepro-5.3.1/debian/patches/0002-uncompress-prevent-reprepro-from-hanging-on-unzstd.patch reprepro-5.3.1/debian/patches/0002-uncompress-prevent-reprepro-from-hanging-on-unzstd.patch --- reprepro-5.3.1/debian/patches/0002-uncompress-prevent-reprepro-from-hanging-on-unzstd.patch 1970-01-01 00:00:00.000000000 +0000 +++ reprepro-5.3.1/debian/patches/0002-uncompress-prevent-reprepro-from-hanging-on-unzstd.patch 2024-07-16 20:48:05.000000000 +0000 @@ -0,0 +1,21 @@ +From: Bastian Germann +Date: Mon, 8 Jan 2024 20:30:49 +0100 +Subject: Wait for poll event + +--- + uncompression.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/uncompression.c b/uncompression.c +index 1087b0b..d738a70 100644 +--- a/uncompression.c ++++ b/uncompression.c +@@ -1430,7 +1430,7 @@ static inline retvalue drain_pipe_fd(struct compressedfile *file, int *errno_p, + 0 + }; + unsigned char buffer[4096] = {}; +- while ((e = poll(&pollfd, 1, 0)) > 0) { ++ while ((e = poll(&pollfd, 1, -1)) > 0) { + e = read(file->fd, buffer, 4096); + if (e <= 0) + break; diff -Nru reprepro-5.3.1/debian/patches/series reprepro-5.3.1/debian/patches/series --- reprepro-5.3.1/debian/patches/series 2023-08-23 10:33:31.000000000 +0000 +++ reprepro-5.3.1/debian/patches/series 2024-07-16 20:48:05.000000000 +0000 @@ -1 +1,2 @@ 0001-uncompress-wait-until-the-child-as-exited-to-close-t.patch +0002-uncompress-prevent-reprepro-from-hanging-on-unzstd.patch