Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 497298 Details for
Bug 632628
sys-libs/db-4.8.30 build fix for -Werror-format=security
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
db-4.8.30-format-security.patch
db-4.8.30-format-security.patch (text/plain), 1.02 KB, created by
René Rhéaume
on 2017-10-01 12:48:51 UTC
(
hide
)
Description:
db-4.8.30-format-security.patch
Filename:
MIME Type:
Creator:
René Rhéaume
Created:
2017-10-01 12:48:51 UTC
Size:
1.02 KB
patch
obsolete
>--- db-4.8.30/repmgr/repmgr_net.c >+++ db-4.8.30-format-security/repmgr/repmgr_net.c >@@ -1331,7 +1331,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); >--- db-4.8.30/crypto/aes_method.c >+++ db-4.8.30-format-security/crypto/aes_method.c >@@ -267,6 +267,6 @@ __aes_err(env, err) > errstr = "AES error unrecognized"; > break; > } >- __db_errx(env, errstr); >+ __db_errx(env, "%s", errstr); > return; > } >--- db-4.8.30/txn/txn.c >+++ db-4.8.30-format-security/txn/txn.c >@@ -168,7 +168,7 @@ __txn_begin(env, ip, parent, txnpp, flag > > *txnpp = NULL; > if ((ret = __os_calloc(env, 1, sizeof(DB_TXN), &txn)) != 0) { >- __db_errx(env, TxnAlloc); >+ __db_errx(env, "%s", TxnAlloc); > return (ret); > } > >@@ -315,7 +315,7 @@ __txn_compensate_begin(env, txnpp) > int ret; > > if ((ret = __os_calloc(env, 1, sizeof(DB_TXN), &txn)) != 0) { >- __db_errx(env, TxnAlloc); >+ __db_errx(env, "%s", TxnAlloc); > return (ret); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 632628
: 497298