[packages/openldap] - fix compilation error - format-security
zawadaa
zawadaa at pld-linux.org
Mon Oct 29 11:54:36 CET 2012
commit 8bc3557cc84f367c4b35cd41233b47a770d683e9
Author: Andrzej Zawadzki <zawadaa at pld-linux.org>
Date: Mon Oct 29 11:54:19 2012 +0100
- fix compilation error - format-security
openldap-format-security.patch | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
---
diff --git a/openldap-format-security.patch b/openldap-format-security.patch
new file mode 100644
index 0000000..bf67125
--- /dev/null
+++ b/openldap-format-security.patch
@@ -0,0 +1,21 @@
+--- db-4.6.21/repmgr/repmgr_net.c.orig 2012-10-18 12:52:44.099497404 +0200
++++ db-4.6.21/repmgr/repmgr_net.c 2012-10-18 13:01:34.266824983 +0200
+@@ -981,7 +981,7 @@
+ }
+
+ ret = net_errno;
+- __db_err(dbenv, ret, why);
++ __db_err(dbenv, ret, "%s", why);
+ clean: if (s != INVALID_SOCKET)
+ (void)closesocket(s);
+ return (ret);
+--- db-4.6.21/crypto/aes_method.c.orig 2012-10-18 13:41:47.465441979 +0200
++++ db-4.6.21/crypto/aes_method.c 2012-10-18 13:42:30.641467820 +0200
+@@ -263,6 +263,6 @@
+ errstr = "AES error unrecognized";
+ break;
+ }
+- __db_errx(dbenv, errstr);
++ __db_errx(dbenv, "%s", errstr);
+ return;
+ }
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/openldap.git/commitdiff/8bc3557cc84f367c4b35cd41233b47a770d683e9
More information about the pld-cvs-commit
mailing list