From 1b636dfda3ad0a941b0249806265bdb328bb1190 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Sun, 17 Apr 2016 23:27:03 -0300 Subject: unzip-6.0-12.parabola1: fix 0-byte file regression - FS#47039 -> https://bugs.archlinux.org/task/47039 --- libre/unzip/csiz-underflow.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libre/unzip/csiz-underflow.patch') diff --git a/libre/unzip/csiz-underflow.patch b/libre/unzip/csiz-underflow.patch index 52321c208..45afbdd68 100644 --- a/libre/unzip/csiz-underflow.patch +++ b/libre/unzip/csiz-underflow.patch @@ -17,7 +17,7 @@ Suggested-by: Stefan Cornelius - if (G.pInfo->encrypted) + if (G.pInfo->encrypted) { -+ if (csiz_decrypted <= 12) { ++ if (csiz_decrypted < 12) { + /* handle the error now to prevent unsigned overflow */ + Info(slide, 0x401, ((char *)slide, + LoadFarStringSmall(ErrUnzipNoFile), -- cgit v1.2.3