diff options
author | Natrio | 2021-09-07 00:10:01 +0300 |
---|---|---|
committer | Natrio | 2021-09-07 00:10:01 +0300 |
commit | 1fbc603a685856c271afff1f1545c7be9cfb9db6 (patch) | |
tree | b7d4b53f90438f8dbabe8049f3696f6620cacbd7 /csiz-underflow.patch | |
parent | 11d6e3741e26621265bd0371dbc937e7246f181e (diff) | |
download | aur-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.patch | 2 |
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), |