summaryrefslogtreecommitdiffstats
path: root/f8ef1a2c7855c0b5dbf7de32269cc7633eb620bd.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-11-20 14:33:52 +0100
committerRemi Collet <remi@remirepo.net>2017-11-20 14:33:52 +0100
commitc644603b0c6503bca018650122d775e490647c92 (patch)
treeb503dd121fc5b8b2bb803570deec0eb5ec614b49 /f8ef1a2c7855c0b5dbf7de32269cc7633eb620bd.patch
parent8ac68c0ae749495230418caf726ae4ad3068ae5b (diff)
v1.3.2
Diffstat (limited to 'f8ef1a2c7855c0b5dbf7de32269cc7633eb620bd.patch')
-rw-r--r--f8ef1a2c7855c0b5dbf7de32269cc7633eb620bd.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/f8ef1a2c7855c0b5dbf7de32269cc7633eb620bd.patch b/f8ef1a2c7855c0b5dbf7de32269cc7633eb620bd.patch
deleted file mode 100644
index 9f5b71a..0000000
--- a/f8ef1a2c7855c0b5dbf7de32269cc7633eb620bd.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From f8ef1a2c7855c0b5dbf7de32269cc7633eb620bd Mon Sep 17 00:00:00 2001
-From: Dieter Baron <dillo@nih.at>
-Date: Mon, 20 Nov 2017 09:23:02 +0100
-Subject: [PATCH] Do not discard za in case of error.
-
-Fixes serious bug introduced in 1.3.1.
----
- lib/zip_close.c | 9 +++++----
- 1 file changed, 5 insertions(+), 4 deletions(-)
-
-diff --git a/lib/zip_close.c b/lib/zip_close.c
-index 71f4bf7..2aff0dd 100644
---- a/lib/zip_close.c
-+++ b/lib/zip_close.c
-@@ -216,15 +216,16 @@ zip_close(zip_t *za)
- }
- }
-
-+ _zip_progress_end(za->progress);
-+
- if (error) {
- zip_source_rollback_write(za->src);
-+ return -1;
- }
-
-- _zip_progress_end(za->progress);
--
- zip_discard(za);
--
-- return error ? -1 : 0;
-+
-+ return 0;
- }
-
-