]> git.pld-linux.org Git - packages/db4.6.git/blob - openldap-format-security.patch
- add -Wformat-security fixes patch from openldap package
[packages/db4.6.git] / openldap-format-security.patch
1 --- db-4.6.21/repmgr/repmgr_net.c.orig  2012-10-18 12:52:44.099497404 +0200
2 +++ db-4.6.21/repmgr/repmgr_net.c       2012-10-18 13:01:34.266824983 +0200
3 @@ -981,7 +981,7 @@
4         }
5  
6         ret = net_errno;
7 -       __db_err(dbenv, ret, why);
8 +       __db_err(dbenv, ret, "%s", why);
9  clean: if (s != INVALID_SOCKET)
10                 (void)closesocket(s);
11         return (ret);
12 --- db-4.6.21/crypto/aes_method.c.orig  2012-10-18 13:41:47.465441979 +0200
13 +++ db-4.6.21/crypto/aes_method.c       2012-10-18 13:42:30.641467820 +0200
14 @@ -263,6 +263,6 @@
15                 errstr = "AES error unrecognized";
16                 break;
17         }
18 -       __db_errx(dbenv, errstr);
19 +       __db_errx(dbenv, "%s", errstr);
20         return;
21  }
This page took 0.076159 seconds and 3 git commands to generate.