From: Marcel Denia Date: Sun, 31 May 2015 23:11:19 +0000 (+0200) Subject: db47: Fix format security warning X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=e7850308fdfdebf19e1c1f1c6f7de4c0e77a5b34;p=openwrt-packages.git db47: Fix format security warning Signed-off-by: Marcel Denia --- 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);