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 912609 Details for
Bug 1037027
cssed 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-1037027-1106.patch (text/plain), 3.70 KB, created by
Yaakov Selkowitz
on 2014-06-27 00:00:28 UTC
(
hide
)
Description:
git format-patch
Filename:
MIME Type:
Creator:
Yaakov Selkowitz
Created:
2014-06-27 00:00:28 UTC
Size:
3.70 KB
patch
obsolete
>From 31e3031fa8a5764815ffca00f767d69fa050cf98 Mon Sep 17 00:00:00 2001 >From: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> >Date: Thu, 26 Jun 2014 18:59:53 -0500 >Subject: [PATCH] Fix FTBFS with -Werror=format-security (#1037027, #1106096) > >--- > cssed-0.4.0-format-security.patch | 47 +++++++++++++++++++++++++++++++++++++++ > cssed.spec | 10 +++++++-- > 2 files changed, 55 insertions(+), 2 deletions(-) > create mode 100644 cssed-0.4.0-format-security.patch > >diff --git a/cssed-0.4.0-format-security.patch b/cssed-0.4.0-format-security.patch >new file mode 100644 >index 0000000..b23b601 >--- /dev/null >+++ b/cssed-0.4.0-format-security.patch >@@ -0,0 +1,47 @@ >+--- a/libcroco/parser/cr-statement.c 2004-04-18 10:26:47.000000000 -0500 >++++ b/libcroco/parser/cr-statement.c 2014-06-11 14:59:05.689850106 -0500 >+@@ -2427,7 +2427,7 @@ >+ g_return_if_fail (a_fp && a_this); >+ str = cr_statement_ruleset_to_string (a_this, a_indent); >+ if (str) { >+- fprintf (a_fp, str); >++ fprintf (a_fp, "%s", str); >+ g_free (str); >+ str = NULL; >+ } >+@@ -2472,7 +2472,7 @@ >+ str = cr_statement_charset_to_string (a_this, >+ a_indent) ; >+ if (str) { >+- fprintf (a_fp, str) ; >++ fprintf (a_fp, "%s", str) ; >+ g_free (str) ; >+ str = NULL ; >+ } >+@@ -2496,7 +2496,7 @@ >+ >+ str = cr_statement_at_page_rule_to_string (a_this, a_indent) ; >+ if (str) { >+- fprintf (a_fp, str); >++ fprintf (a_fp, "%s", str); >+ g_free (str) ; >+ str = NULL ; >+ } >+@@ -2519,7 +2519,7 @@ >+ >+ str = cr_statement_media_rule_to_string (a_this, a_indent) ; >+ if (str) { >+- fprintf (a_fp, str) ; >++ fprintf (a_fp, "%s", str) ; >+ g_free (str) ; >+ str = NULL ; >+ } >+@@ -2542,7 +2542,7 @@ >+ >+ str = cr_statement_import_rule_to_string (a_this, a_indent) ; >+ if (str) { >+- fprintf (a_fp, str) ; >++ fprintf (a_fp, "%s", str) ; >+ g_free (str) ; >+ str = NULL ; >+ } >diff --git a/cssed.spec b/cssed.spec >index 6ccb165..95d5237 100644 >--- a/cssed.spec >+++ b/cssed.spec >@@ -1,18 +1,19 @@ > Name: cssed > Version: 0.4.0 >-Release: 19%{?dist} >+Release: 20%{?dist} > Summary: CSS editor and validator > > Group: Applications/Editors > License: GPLv2+ > URL: http://cssed.sourceforge.net/ >-Source0: http://dl.sourceforge.net/sourceforge/cssed/%{name}-%{version}.tar.gz >+Source0: http://downloads.sourceforge.net/cssed/%{name}-%{version}.tar.gz > Source1: %{name}.desktop > Patch0: cssed-0.4.0-headersfix.patch > Patch1: cssed-0.4.0-gcc44.patch > Patch2: cssed-0.4.0_cssdialogs-functions.patch > Patch3: cssed-0.4.0_pixmap.patch > Patch4: cssed-0.4.0-no-add-needed.patch >+Patch5: cssed-0.4.0-format-security.patch > > BuildRequires: libxml2-devel,gettext,gtk2-devel,desktop-file-utils > >@@ -44,6 +45,7 @@ Development files for cssed. > %patch2 -p0 > %patch3 -p0 > %patch4 -p1 >+%patch5 -p1 > > %{__sed} -i 's/\r//' include/{SciLexer.h,Scintilla.h,ScintillaWidget.h} > %{__sed} -i 's/\r//' scintilla/License.txt >@@ -74,6 +76,10 @@ desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE1} > %{_includedir}/cssed > > %changelog >+* Wed Jun 11 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 0.4.0-20 >+- Fix FTBFS with -Werror=format-security (#1037027, #1106096) >+- Fix source URI >+ > * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-19 > - 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 1037027
:
907856
| 912609