git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
6e41670
)
db47: Fix format security warning
author
Marcel Denia
<redacted>
Sun, 31 May 2015 23:11:19 +0000
(
01:11
+0200)
committer
Marcel Denia
<redacted>
Tue, 2 Jun 2015 13:30:58 +0000
(15:30 +0200)
Signed-off-by: Marcel Denia <redacted>
libs/db47/patches/100-repmgr-format-security.patch
[new file with mode: 0644]
patch
|
blob
diff --git a/libs/db47/patches/100-repmgr-format-security.patch
b/libs/db47/patches/100-repmgr-format-security.patch
new file mode 100644
(file)
index 0000000..
58cfafd
--- /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);
git clone https://git.99rst.org/PROJECT