update xmlrpc-c to 1.59.02

This commit is contained in:
sherlock2010 2024-01-09 10:58:08 +00:00
parent 7732959825
commit d6ea425462
4 changed files with 7 additions and 36 deletions

View File

@ -1,34 +0,0 @@
From d31c2ffbf5181053330fa32e4f03c47283bd1448 Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Date: Sat, 17 Dec 2016 10:28:31 +0100
Subject: [PATCH 1/3] xmlrpc_server_abyss: use va_args properly
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
../src/xmlrpc_server_abyss.c: In function createServer:
../src/xmlrpc_server_abyss.c:783:13: error: format not a string literal and no format arguments [-Werror=format-security]
xmlrpc_faultf(envP, error);
^~~~~~~~~~~~~
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
---
src/xmlrpc_server_abyss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xmlrpc_server_abyss.c b/src/xmlrpc_server_abyss.c
index 8aacb4b..58f5ba0 100644
--- a/src/xmlrpc_server_abyss.c
+++ b/src/xmlrpc_server_abyss.c
@@ -780,7 +780,7 @@ createServer(xmlrpc_env * const envP,
ServerInit2(abyssServerP, &error);
if (error) {
- xmlrpc_faultf(envP, error);
+ xmlrpc_faultf(envP, "%s", error);
xmlrpc_strfree(error);
}
}
--
2.13.1

Binary file not shown.

BIN
xmlrpc-c-1.59.02.tgz Normal file

Binary file not shown.

View File

@ -1,12 +1,11 @@
Name: xmlrpc-c
Version: 1.54.06
Version: 1.59.02
Release: 1
Summary: Library implementing XML-based Remote Procedure Calls
License: BSD and MIT
URL: http://xmlrpc-c.sourceforge.net/
Source0: https://sourceforge.net/projects/xmlrpc-c/files/Xmlrpc-c%20Super%20Stable/%version/%name-%version.tgz
Patch0001: backport-0001-xmlrpc_server_abyss-use-va_args-properly.patch
Patch0003: backport-0001-add-meson-buildsystem-definitions.patch
Patch0004: backport-0002-chmod-x-xml-rpc-api2txt.patch
@ -75,6 +74,12 @@ Header files for xmlrpc-c.
%{_mandir}/man1/*
%changelog
* Tue Jan 09 2024 zhouyihang <zhouyihang3@h-partners.com> - 1.59.02-1
- Type:requirement
- CVE:NA
- SUG:NA
- DESC: update xmlrpc-c to 1.59.02
* Tue Nov 15 2022 zhouyihang <zhouyihang3@h-partners.com> - 1.54.06-1
- Type:requirement
- Id:NA