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 911592 Details for
Bug 1037107
gsim85 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 for rawhide
0001-Fix-FTBFS-with-Werror-format-security-1037107-110673.patch (text/plain), 2.74 KB, created by
Yaakov Selkowitz
on 2014-06-23 20:37:52 UTC
(
hide
)
Description:
Patch for rawhide
Filename:
MIME Type:
Creator:
Yaakov Selkowitz
Created:
2014-06-23 20:37:52 UTC
Size:
2.74 KB
patch
obsolete
>From 4612deda87c324b5a00bb95e35b32bc2549315ef Mon Sep 17 00:00:00 2001 >From: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> >Date: Mon, 23 Jun 2014 15:36:28 -0500 >Subject: [PATCH] Fix FTBFS with -Werror=format-security (#1037107, #1106733) > >--- > gsim85-0.3-format-security.patch | 20 ++++++++++++++++++++ > gsim85.spec | 7 ++++++- > 2 files changed, 26 insertions(+), 1 deletion(-) > create mode 100644 gsim85-0.3-format-security.patch > >diff --git a/gsim85-0.3-format-security.patch b/gsim85-0.3-format-security.patch >new file mode 100644 >index 0000000..63a46db >--- /dev/null >+++ b/gsim85-0.3-format-security.patch >@@ -0,0 +1,20 @@ >+--- a/src/dialog.c >++++ b/src/dialog.c >+@@ -29,7 +29,7 @@ void gsim_message(const gchar *message,GtkMessageType type) >+ { >+ GtkWidget *dialog; >+ dialog=gtk_message_dialog_new(GTK_WINDOW(gsim_appwindow),GTK_DIALOG_DESTROY_WITH_PARENT,type, >+- GTK_BUTTONS_CLOSE,message); >++ GTK_BUTTONS_CLOSE,"%s",message); >+ gtk_dialog_run (GTK_DIALOG (dialog)); >+ gtk_widget_hide (dialog); >+ } >+@@ -48,7 +48,7 @@ void gsim_close_unsaved(void) >+ /* Create the widgets */ >+ >+ dialog = gtk_message_dialog_new(GTK_WINDOW(gsim_appwindow),GTK_DIALOG_DESTROY_WITH_PARENT,GTK_MESSAGE_QUESTION, >+- GTK_BUTTONS_NONE,str->str); >++ GTK_BUTTONS_NONE,"%s",str->str); >+ gtk_dialog_add_buttons(GTK_DIALOG(dialog),GTK_STOCK_CANCEL,GTK_RESPONSE_NONE,GTK_STOCK_NO,GTK_RESPONSE_NO, >+ GTK_STOCK_SAVE,GTK_RESPONSE_YES,NULL); >+ >diff --git a/gsim85.spec b/gsim85.spec >index 17b1fcd..f427ba4 100644 >--- a/gsim85.spec >+++ b/gsim85.spec >@@ -1,11 +1,12 @@ > Name: gsim85 > Version: 0.3 >-Release: 11%{?dist} >+Release: 12%{?dist} > Summary: An 8085 microprocessor simulator > > License: GPLv2+ > URL: http://gsim85.sourceforge.net/ > Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz >+Patch0: gsim85-0.3-format-security.patch > > BuildRequires: libglade2-devel > BuildRequires: intltool >@@ -21,6 +22,7 @@ implementing them on target board. > > %prep > %setup -q >+%patch0 -p1 > > %build > %configure --disable-static >@@ -43,6 +45,9 @@ desktop-file-install \ > %{_datadir}/applications/%{name}.desktop > > %changelog >+* Mon Jun 23 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 0.3-12 >+- Fix FTBFS with -Werror=format-security (#1037107, #1106733) >+ > * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-11 > - 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 1037107
: 911592