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 943707 Details for
Bug 1037298
quarry 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-sprintf-call-so-format-security-works.patch (text/plain), 1.98 KB, created by
Marcin Juszkiewicz
on 2014-10-03 11:51:22 UTC
(
hide
)
Description:
patch + spec changeset
Filename:
MIME Type:
Creator:
Marcin Juszkiewicz
Created:
2014-10-03 11:51:22 UTC
Size:
1.98 KB
patch
obsolete
>From 249d7cb56ad7ce0e7fd9e5760c8412d31b3c825a Mon Sep 17 00:00:00 2001 >From: Marcin Juszkiewicz <mjuszkiewicz@redhat.com> >Date: Fri, 3 Oct 2014 13:50:43 +0200 >Subject: [PATCH] fix sprintf call so -format-security works > >--- > quarry-format-security.patch | 13 +++++++++++++ > quarry.spec | 7 ++++++- > 2 files changed, 19 insertions(+), 1 deletion(-) > create mode 100644 quarry-format-security.patch > >diff --git a/quarry-format-security.patch b/quarry-format-security.patch >new file mode 100644 >index 0000000..324a9ae >--- /dev/null >+++ b/quarry-format-security.patch >@@ -0,0 +1,13 @@ >+Index: utils/parse-list.c >+=================================================================== >+--- a/src/utils.orig/parse-list.c >++++ b/src/utils/parse-list.c >+@@ -162,7 +162,7 @@ parse_list_main (int argc, char *argv[], >+ switch (option) { >+ case OPTION_HELP: >+ print_usage (stdout); >+- printf (help_string); >++ printf ("%s", help_string); >+ >+ result = 0; >+ goto exit_parse_list_main; >diff --git a/quarry.spec b/quarry.spec >index 06ad7a2..8eb0f2f 100644 >--- a/quarry.spec >+++ b/quarry.spec >@@ -1,12 +1,13 @@ > Name: quarry > Version: 0.2.0 >-Release: 15%{?dist} >+Release: 16%{?dist} > Summary: A multi-purpose board game GUI > > Group: Amusements/Games > License: GPLv2+ > URL: http://home.gna.org/quarry/ > Source0: http://download.gna.org/quarry/quarry-%{version}.tar.gz >+Patch0: quarry-format-security.patch > BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) > > BuildRequires: desktop-file-utils >@@ -24,6 +25,7 @@ programs. > > %prep > %setup -q >+%patch0 -p1 > > > %build >@@ -74,6 +76,9 @@ rm -rf $RPM_BUILD_ROOT > > > %changelog >+* Fri Oct 03 2014 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 0.2.0-16 >+- fix sprintf call so -format-security works >+ > * Thu Oct 02 2014 Rex Dieter <rdieter@fedoraproject.org> 0.2.0-15 > - add/update desktop/mime/scrollkeeper scriptlets > >-- >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 1037298
: 943707