Projects
openEuler:24.03:SP1:Everything
cyrus-sasl
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
_service:tar_scm:cyrus-sasl.spec
Changed
@@ -6,7 +6,7 @@ Name: cyrus-sasl Version: 2.1.28 -Release: 3 +Release: 4 Summary: The Cyrus SASL API Implementation License: BSD with advertising @@ -18,6 +18,7 @@ Patch1: backport-Fix-earlier-554-commit-to-use-fetch_errno-instead-of.patch Patch2: backport-sample-Rename-dprint-function.patch Patch3: backport-Fix-time.h-check.patch +Patch4: backport-Use-int-instead-of-char-for-variable-c.patch BuildRequires: autoconf, automake, libtool, gdbm-devel, groff BuildRequires: krb5-devel >= 1.2.2, openssl-devel, pam-devel, pkgconfig @@ -260,6 +261,9 @@ %changelog +* Fri Oct 11 2024 yixiangzhike <yixiangzhike007@163.com> - 2.1.28-4 +- backport upstream patch to fix char overflow + * Sat Jul 27 2024 yanying<201250106@smail.nju.edu.cn> - 2.1.28-3 - backport fix for time.h check
View file
_service:tar_scm:backport-Use-int-instead-of-char-for-variable-c.patch
Added
@@ -0,0 +1,29 @@ +From 4013caeda28f67980df1bc8fcd95e80135d248e8 Mon Sep 17 00:00:00 2001 +From: yixiangzhike <yixiangzhike007@163.com> +Date: Mon, 16 Jan 2023 20:28:28 +0800 +Subject: PATCH Use int instead of char for variable c + +In some systems, char is compiled as unsigned char by default, +as a result, testsuite always fails in abnormal process. + +Signed-off-by: yixiangzhike <yixiangzhike007@163.com> +--- + utils/testsuite.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/utils/testsuite.c b/utils/testsuite.c +index 12da7f74..79e861d2 100644 +--- a/utils/testsuite.c ++++ b/utils/testsuite.c +@@ -2938,7 +2938,7 @@ void usage(void) + + int main(int argc, char **argv) + { +- char c; ++ int c; + int random_tests = -1; + int do_all = 0; + int skip_do_correct = 0; +-- +2.33.0 +
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