public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/homebank] f43: Fix -Werror=format-security: non-literal format string
Date: Fri, 13 Nov 2026 17:28:48 GMT	[thread overview]
Message-ID: <179459092830.1.2173514975177271973.rpms-homebank-9b0eb3d2fbbd@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/homebank
Branch : f43
Commit : 9b0eb3d2fbbd603b83718d3ca65270d6979cd33c
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-11-13T14:20:00-03:00
Stats  : +15/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/homebank/c/9b0eb3d2fbbd603b83718d3ca65270d6979cd33c?branch=f43

Log:
Fix -Werror=format-security: non-literal format string

---
diff --git a/homebank-5.10.4-format-security.patch b/homebank-5.10.4-format-security.patch
new file mode 100644
index 0000000..080ab0a
--- /dev/null
+++ b/homebank-5.10.4-format-security.patch
@@ -0,0 +1,13 @@
+Fix -Werror=format-security: non-literal format string
+
+--- a/src/ui-dialogs.c
++++ b/src/ui-dialogs.c
+@@ -808,7 +808,7 @@
+ 			GTK_MESSAGE_WARNING,
+ 			//GTK_MESSAGE_INFO,
+ 			GTK_BUTTONS_NONE,
+-			msgtitle
++			"%s", msgtitle
+ 		);
+ 
+ 		g_free(msgtitle);

diff --git a/homebank.spec b/homebank.spec
index 184dfa5..e490c88 100644
--- a/homebank.spec
+++ b/homebank.spec
@@ -5,6 +5,8 @@ Summary:        Free easy personal accounting for all
 License:        GPL-2.0-or-later
 URL:            https://gethomebank.org/
 Source:         https://gethomebank.org/public/sources/%{name}-%{version}.tar.gz
+
+Patch:          %{name}-%{version}-format-security.patch
 ExcludeArch:    %{ix86}
 BuildRequires:  desktop-file-utils
 BuildRequires:  gcc

                 reply	other threads:[~2026-11-13 17:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179459092830.1.2173514975177271973.rpms-homebank-9b0eb3d2fbbd@fedoraproject.org \
    --to=rosset.filipe@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox