summarylogtreecommitdiffstats
path: root/csiz-underflow.patch
diff options
context:
space:
mode:
authorNatrio2021-09-07 00:10:01 +0300
committerNatrio2021-09-07 00:10:01 +0300
commit1fbc603a685856c271afff1f1545c7be9cfb9db6 (patch)
treeb7d4b53f90438f8dbabe8049f3696f6620cacbd7 /csiz-underflow.patch
parent11d6e3741e26621265bd0371dbc937e7246f181e (diff)
downloadaur-unzip-natspec.tar.gz
Syncing with unzip, avoiding -Werror=format-security from the new CFLAGS default
Diffstat (limited to 'csiz-underflow.patch')
-rw-r--r--csiz-underflow.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/csiz-underflow.patch b/csiz-underflow.patch
index 52321c208a1a..45afbdd683a6 100644
--- a/csiz-underflow.patch
+++ b/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),