From e7850308fdfdebf19e1c1f1c6f7de4c0e77a5b34 Mon Sep 17 00:00:00 2001 From: Marcel Denia Date: Mon, 1 Jun 2015 01:11:19 +0200 Subject: [PATCH] db47: Fix format security warning Signed-off-by: Marcel Denia --- libs/db47/patches/100-repmgr-format-security.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 libs/db47/patches/100-repmgr-format-security.patch diff --git a/libs/db47/patches/100-repmgr-format-security.patch b/libs/db47/patches/100-repmgr-format-security.patch new file mode 100644 index 000000000..58cfafdd0 --- /dev/null +++ b/libs/db47/patches/100-repmgr-format-security.patch @@ -0,0 +1,11 @@ +--- a/repmgr/repmgr_net.c ++++ b/repmgr/repmgr_net.c +@@ -1136,7 +1136,7 @@ __repmgr_listen(env) + } + + ret = net_errno; +- __db_err(env, ret, why); ++ __db_err(env, ret, "%s", why); + clean: if (s != INVALID_SOCKET) + (void)closesocket(s); + return (ret);