Projects
openEuler:24.03:SP1:Everything
zlib
_service:tar_scm:backport-Fix-logic-error-in-mi...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:backport-Fix-logic-error-in-minizip-argument-processing.patch of Package zlib
From 3061e5013c2569974fd7d830f2776b38da4e2691 Mon Sep 17 00:00:00 2001 From: Mark Adler <madler@alumni.caltech.edu> Date: Sat, 29 Jul 2023 23:51:22 -0700 Subject: [PATCH] Fix logic error in minizip argument processing. Reference:https://github.com/madler/zlib/commit/3061e5013c2569974fd7d830f2776b38da4e2691 Conflict:NA --- contrib/minizip/minizip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/minizip/minizip.c b/contrib/minizip/minizip.c index f458c85ef..61a9d4c7d 100644 --- a/contrib/minizip/minizip.c +++ b/contrib/minizip/minizip.c @@ -381,7 +381,7 @@ int main(int argc, char *argv[]) { ((argv[i][1]=='o') || (argv[i][1]=='O') || (argv[i][1]=='a') || (argv[i][1]=='A') || (argv[i][1]=='p') || (argv[i][1]=='P') || - ((argv[i][1]>='0') || (argv[i][1]<='9'))) && + ((argv[i][1]>='0') && (argv[i][1]<='9'))) && (strlen(argv[i]) == 2))) { FILE * fin;
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2