xmlrpc-c/xmlrpc-c-format-security-warning.patch

14 lines
450 B
Diff
Raw Normal View History

diff --git a/src/xmlrpc_server_abyss.c b/src/xmlrpc_server_abyss.c
index 614f64b..998290f 100644
--- a/src/xmlrpc_server_abyss.c
+++ b/src/xmlrpc_server_abyss.c
@@ -776,7 +776,7 @@ createServer(xmlrpc_env * const envP,
ServerInit2(abyssServerP, &error);
if (error) {
- xmlrpc_faultf(envP, error);
+ xmlrpc_faultf(envP, "%s", error);
xmlrpc_strfree(error);
}
}