Browse Source

db47: Fix format security warning

Signed-off-by: Marcel Denia <naoir@gmx.net>
lilik-openwrt-22.03
Marcel Denia 10 years ago
parent
commit
e7850308fd
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      libs/db47/patches/100-repmgr-format-security.patch

+ 11
- 0
libs/db47/patches/100-repmgr-format-security.patch View File

@ -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);

Loading…
Cancel
Save