From 6031cee8b35a5f0d7a1fee157d2cefcc05649608 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 19 Apr 2023 11:57:35 +0100 Subject: gentoo auto-resync : 19:04:2023 - 11:57:35 --- .../files/xmlrpc-c-1.54.06-wformat-security.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 dev-libs/xmlrpc-c/files/xmlrpc-c-1.54.06-wformat-security.patch (limited to 'dev-libs/xmlrpc-c/files') diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.54.06-wformat-security.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.54.06-wformat-security.patch new file mode 100644 index 000000000000..462adcd06375 --- /dev/null +++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.54.06-wformat-security.patch @@ -0,0 +1,29 @@ +https://src.fedoraproject.org/rpms/xmlrpc-c/raw/rawhide/f/0001-xmlrpc_server_abyss-use-va_args-properly.patch + +From d31c2ffbf5181053330fa32e4f03c47283bd1448 Mon Sep 17 00:00:00 2001 +From: Igor Gnatenko +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 +--- 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 -- cgit v1.2.3