Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 943687 Details for
Bug 1037123
honeyd FTBFS if "-Werror=format-security" flag is used
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch + spec changeset
0001-fix-syslog-calls-so-format-security-works.patch (text/plain), 2.37 KB, created by
Marcin Juszkiewicz
on 2014-10-03 10:18:44 UTC
(
hide
)
Description:
patch + spec changeset
Filename:
MIME Type:
Creator:
Marcin Juszkiewicz
Created:
2014-10-03 10:18:44 UTC
Size:
2.37 KB
patch
obsolete
>From dad79908a0309c058007572b2bd5c51c37430377 Mon Sep 17 00:00:00 2001 >From: Marcin Juszkiewicz <mjuszkiewicz@redhat.com> >Date: Fri, 3 Oct 2014 12:16:44 +0200 >Subject: [PATCH] fix syslog() calls so -format-security works > >--- > honeyd-format-security.patch | 25 +++++++++++++++++++++++++ > honeyd.spec | 7 ++++++- > 2 files changed, 31 insertions(+), 1 deletion(-) > create mode 100644 honeyd-format-security.patch > >diff --git a/honeyd-format-security.patch b/honeyd-format-security.patch >new file mode 100644 >index 0000000..567afd2 >--- /dev/null >+++ b/honeyd-format-security.patch >@@ -0,0 +1,25 @@ >+Index: honeyd-1.5c/command.c >+=================================================================== >+--- honeyd-1.5c.orig/command.c >++++ honeyd-1.5c/command.c >+@@ -320,7 +320,7 @@ cmd_droppriv(uid_t uid, gid_t gid) >+ >+ return; >+ error: >+- syslog(LOG_WARNING, error); >++ syslog(LOG_WARNING, "%s", error); >+ errx(1, "%s: terminated", __func__); >+ } >+ >+Index: honeyd-1.5c/hsniff.c >+=================================================================== >+--- honeyd-1.5c.orig/hsniff.c >++++ honeyd-1.5c/hsniff.c >+@@ -809,6 +809,6 @@ droppriv(uid_t uid, gid_t gid) >+ >+ return; >+ error: >+- syslog(LOG_WARNING, error); >++ syslog(LOG_WARNING, "%s", error); >+ errx(1, "%s: terminated", __func__); >+ } >diff --git a/honeyd.spec b/honeyd.spec >index 2f7a429..47ded62 100644 >--- a/honeyd.spec >+++ b/honeyd.spec >@@ -1,7 +1,7 @@ > Summary: Honeypot daemon > Name: honeyd > Version: 1.5c >-Release: 23%{?dist} >+Release: 24%{?dist} > License: GPLv2+ and BSD > Group: Applications/Internet > URL: http://www.honeyd.org/ >@@ -21,6 +21,7 @@ Patch5: honeyd-1.5c-lt.patch > Patch6: honeyd-1.5c-extint.patch > Patch7: honeyd-1.5c-libevent2.patch > Patch8: honeyd-1.5c-automake13.patch >+Patch9: honeyd-format-security.patch > Requires: perl-SNMP_Session > Requires(post): systemd-units > Requires(preun): systemd-units >@@ -50,6 +51,7 @@ cp -p %{SOURCE6} ./ > %patch6 -p1 -b .extint > %patch7 -p1 -b .libevent2 > %patch8 -p1 -b .automake13 >+%patch9 -p1 > > sed -i 's,arpd,farpd,' arpd/arpd.8 > >@@ -151,6 +153,9 @@ fi > %{_mandir}/man8/farpd.8* > > %changelog >+* Fri Oct 03 2014 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 1.5c-24 >+- fix syslog() calls so -format-security works >+ > * Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5c-23 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild > >-- >2.1.0 >
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 1037123
: 943687