public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Takao Fujiwara <tfujiwar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ibus] autotool: Call strdup() after g_return_if_fail() in im-ibus.so
Date: Sun, 31 May 2026 02:08:21 GMT [thread overview]
Message-ID: <178019330104.1.5547787905684221916.rpms-ibus-5206f63c4d8e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ibus
Branch : autotool
Commit : 5206f63c4d8e274d4165df3160b8c566f6240664
Author : Takao Fujiwara <tfujiwar@redhat.com>
Date : 2023-11-15T19:54:05+09:00
Stats : +37/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/ibus/c/5206f63c4d8e274d4165df3160b8c566f6240664?branch=autotool
Log:
Call strdup() after g_return_if_fail() in im-ibus.so
---
diff --git a/ibus-HEAD.patch b/ibus-HEAD.patch
index 4f8febb..4481854 100644
--- a/ibus-HEAD.patch
+++ b/ibus-HEAD.patch
@@ -1207,3 +1207,36 @@ index fe4cab45..10190921 100644
--
2.41.0
+From 1be3e2f79b384a374b2a69a31c88a4f36e1dd868 Mon Sep 17 00:00:00 2001
+From: fujiwarat <takao.fujiwara1@gmail.com>
+Date: Wed, 15 Nov 2023 17:19:02 +0900
+Subject: [PATCH] client/gtk2: Call strdup() after g_return_if_fail()
+
+---
+ client/gtk2/ibusimcontext.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/client/gtk2/ibusimcontext.c b/client/gtk2/ibusimcontext.c
+index b5a44da0..cfc08c20 100644
+--- a/client/gtk2/ibusimcontext.c
++++ b/client/gtk2/ibusimcontext.c
+@@ -2417,7 +2417,7 @@ _create_input_context_done (IBusBus *bus,
+ static void
+ _create_input_context (IBusIMContext *ibusimcontext)
+ {
+- gchar *prgname = g_strdup (g_get_prgname());
++ gchar *prgname;
+ gchar *client_name;
+ IDEBUG ("%s", __FUNCTION__);
+
+@@ -2425,6 +2425,7 @@ _create_input_context (IBusIMContext *ibusimcontext)
+
+ g_return_if_fail (ibusimcontext->cancellable == NULL);
+
++ prgname = g_strdup (g_get_prgname());
+ ibusimcontext->cancellable = g_cancellable_new ();
+
+ if (!prgname)
+--
+2.41.0
+
diff --git a/ibus.spec b/ibus.spec
index 3b0d886..cd7dbb5 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -58,7 +58,7 @@
Name: ibus
Version: 1.5.29~rc2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Intelligent Input Bus for Linux OS
License: LGPL-2.1-or-later
URL: https://github.com/ibus/%name/wiki
@@ -580,6 +580,9 @@ dconf update || :
%{_datadir}/installed-tests/ibus
%changelog
+* Wed Nov 15 2023 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.29~rc2-2
+- Call strdup() after g_return_if_fail() in im-ibus.so
+
* Thu Nov 09 2023 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.29~rc2-1
- Bump to 1.5.29-rc2
reply other threads:[~2026-05-31 2:08 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=178019330104.1.5547787905684221916.rpms-ibus-5206f63c4d8e@fedoraproject.org \
--to=tfujiwar@redhat.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