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 912612 Details for
Bug 1037142
ivtv-utils 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]
git format-patch
Fix-FTBFS-with--Werrorformat-security-1037142-1106.patch (text/plain), 2.31 KB, created by
Yaakov Selkowitz
on 2014-06-27 00:08:46 UTC
(
hide
)
Description:
git format-patch
Filename:
MIME Type:
Creator:
Yaakov Selkowitz
Created:
2014-06-27 00:08:46 UTC
Size:
2.31 KB
patch
obsolete
>From 4c6293d3a5f4483c58dc248b84f7272fb08e1aad Mon Sep 17 00:00:00 2001 >From: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> >Date: Thu, 26 Jun 2014 19:08:15 -0500 >Subject: [PATCH] Fix FTBFS with -Werror=format-security (#1037142, #1106810) > >--- > ivtv-utils-1.4.0-format-security.patch | 11 +++++++++++ > ivtv-utils.spec | 7 ++++++- > 2 files changed, 17 insertions(+), 1 deletion(-) > create mode 100644 ivtv-utils-1.4.0-format-security.patch > >diff --git a/ivtv-utils-1.4.0-format-security.patch b/ivtv-utils-1.4.0-format-security.patch >new file mode 100644 >index 0000000..bf08f9a >--- /dev/null >+++ b/ivtv-utils-1.4.0-format-security.patch >@@ -0,0 +1,11 @@ >+--- a/utils/ivtv-ctl.c 2009-02-06 12:46:10.000000000 -0600 >++++ b/utils/ivtv-ctl.c 2014-06-11 19:20:32.599587277 -0500 >+@@ -254,7 +254,7 @@ static int dowrite(const char *buf, cons >+ printf("failed: %s\n", strerror(errno)); >+ return errno; >+ } >+- fprintf(f, buf); >++ fprintf(f, "%s", buf); >+ fclose(f); >+ return 0; >+ } >diff --git a/ivtv-utils.spec b/ivtv-utils.spec >index a274bf7..58756d6 100644 >--- a/ivtv-utils.spec >+++ b/ivtv-utils.spec >@@ -1,11 +1,12 @@ > Summary: Tools for the iTVC15/16 and CX23415/16 driver > Name: ivtv-utils > Version: 1.4.0 >-Release: 16%{?dist} >+Release: 17%{?dist} > License: GPLv2 > Group: Applications/Multimedia > Source0: http://dl.ivtvdriver.org/ivtv/archive/1.4.x/%{name}-%{version}.tar.gz > #Patch0: ivtv-utils-1.3.0-v4l2-register-changes.patch >+Patch1: ivtv-utils-1.4.0-format-security.patch > URL: http://ivtvdriver.org/ > BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot > Requires: ivtv-firmware >@@ -24,6 +25,7 @@ some userland tools for ivtv. > %prep > %setup -q > #patch0 -p1 >+%patch1 -p1 > perl -pi -e's,/sbin/depmod,:,g' driver/Makefile > grep -rl '#include <linux/config.h>' . | xargs perl -pi -e's,#include <linux/config.h>,/* #include <linux/config.h> */,' > perl -pi -e's@CFLAGS = -D_GNU_SOURCE .*@CFLAGS = -D_GNU_SOURCE -D__user= %{optflags}@' utils/Makefile >@@ -56,6 +58,9 @@ rm -rf %{buildroot} > %{_datadir}/ivtv > > %changelog >+* Wed Jun 11 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 1.4.0-17 >+- Fix for -Werror=format-security (#1037142, #1106810) >+ > * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-16 > - 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 1037142
:
907886
| 912612