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 913543 Details for
Bug 1037170
libnetdude 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]
Fix FTBFS with -Werror=format-security
Fix-FTBFS-with--Werrorformat-security-1037170-1106.patch (text/plain), 3.31 KB, created by
Yaakov Selkowitz
on 2014-06-30 20:08:57 UTC
(
hide
)
Description:
Fix FTBFS with -Werror=format-security
Filename:
MIME Type:
Creator:
Yaakov Selkowitz
Created:
2014-06-30 20:08:57 UTC
Size:
3.31 KB
patch
obsolete
>From 5db83651bbad08f1fee148298c655dbb05269eda Mon Sep 17 00:00:00 2001 >From: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> >Date: Mon, 30 Jun 2014 15:02:56 -0500 >Subject: [PATCH] Fix FTBFS with -Werror=format-security (#1037170, #1106045) > >--- > libnetdude-0.11-format-security.patch | 13 +++++++++++++ > libnetdude.spec | 16 ++++++++-------- > 2 files changed, 21 insertions(+), 8 deletions(-) > create mode 100644 libnetdude-0.11-format-security.patch > >diff --git a/libnetdude-0.11-format-security.patch b/libnetdude-0.11-format-security.patch >new file mode 100644 >index 0000000..2b3a328 >--- /dev/null >+++ b/libnetdude-0.11-format-security.patch >@@ -0,0 +1,13 @@ >+diff --git a/src/libnd_tcpdump.c b/src/libnd_tcpdump.c >+index 13bcf04..a3ecec2 100644 >+--- a/src/libnd_tcpdump.c >++++ b/src/libnd_tcpdump.c >+@@ -119,7 +119,7 @@ tcpdump_fill_in_options(char *opt, char **opt_vec, int opt_size) >+ * to force buffer flushing in tcpdump from the outside ... >+ */ >+ >+- sprintf(p, tcpdump_dyn_opt); >++ sprintf(p, "%s", tcpdump_dyn_opt); >+ p = p + strlen(p); >+ >+ sprintf(p, " " TCPDUMP_OPS_HARDCODED " -"); >diff --git a/libnetdude.spec b/libnetdude.spec >index 7cad856..2d64520 100644 >--- a/libnetdude.spec >+++ b/libnetdude.spec >@@ -1,6 +1,6 @@ > Name: libnetdude > Version: 0.11 >-Release: 9%{?dist} >+Release: 10%{?dist} > Summary: Management framework for pcap packet traces > > Group: System Environment/Libraries >@@ -8,7 +8,8 @@ License: MIT with advertising > URL: http://netdude.sourceforge.net/ > Source0: http://downloads.sourceforge.net/netdude/libnetdude-%{version}.tar.gz > Source1: libnetdude-lndtool-wrapper.sh >-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) >+# -Werror=format-security >+Patch0: libnetdude-0.11-format-security.patch > > BuildRequires: glib-devel, libpcapnav-devel, gtk-doc >= 0.6, tcpdump, /bin/sed > BuildRequires: libpcap-devel >@@ -31,6 +32,7 @@ developing applications that use %{name}. > > %prep > %setup -q >+%patch0 -p1 > > # Rewrite our wrapperscript to have a versioned directory > sed -e 's,###loc###,%{name}/%{version},' %{SOURCE1} > libnetdude-lndtool-wrapper.sh >@@ -47,7 +49,6 @@ make %{?_smp_mflags} docs > popd > > %install >-rm -rf %{buildroot} > make install DESTDIR=%{buildroot} INSTALL="%{__install} -p" > > # Wrapper workaround for conflicting binary >@@ -59,9 +60,6 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' > mv %{buildroot}%{_datadir}/gtk-doc/html/%{name}/%{name}/* %{buildroot}%{_datadir}/gtk-doc/html/%{name}/ > rm -rf %{buildroot}%{_datadir}/gtk-doc/html/%{name}/%{name}/ > >-%clean >-rm -rf %{buildroot} >- > > %post -p /sbin/ldconfig > >@@ -69,13 +67,11 @@ rm -rf %{buildroot} > > > %files >-%defattr(-,root,root,-) > %doc README COPYING > %{_libdir}/*.so.* > %{_libdir}/%{name}/ > > %files devel >-%defattr(-,root,root,-) > %doc README COPYING ChangeLog TODO > %{_bindir}/lndtool > %{_includedir}/* >@@ -84,6 +80,10 @@ rm -rf %{buildroot} > %{_datadir}/gtk-doc/html/%{name}/ > > %changelog >+* Mon Jun 30 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 0.11-10 >+- Fix FTBFS with -Werror=format-security (#1037170, #1106045) >+- Cleanup spec >+ > * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-9 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild > >-- >1.9.3
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 1037170
: 913543