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: Resolves: #2365138 Fix to realloc Xi18nAtomOffsetPair in i18nOffsetCache.c
Date: Sun, 31 May 2026 02:09:00 GMT [thread overview]
Message-ID: <178019334034.1.2468145396729459493.rpms-ibus-9f772e024c10@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ibus
Branch : autotool
Commit : 9f772e024c10d2961ac12ba736e7d3ad6f21cec3
Author : Takao Fujiwara <tfujiwar@redhat.com>
Date : 2025-09-07T09:56:41+09:00
Stats : +36/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/ibus/c/9f772e024c10d2961ac12ba736e7d3ad6f21cec3?branch=autotool
Log:
Resolves: #2365138 Fix to realloc Xi18nAtomOffsetPair in i18nOffsetCache.c
---
diff --git a/ibus-HEAD.patch b/ibus-HEAD.patch
index e69de29..3dbaf44 100644
--- a/ibus-HEAD.patch
+++ b/ibus-HEAD.patch
@@ -0,0 +1,31 @@
+From 0991768f5f836c2b3f660040892fa1e60c2c1f22 Mon Sep 17 00:00:00 2001
+From: fujiwarat <takao.fujiwara1@gmail.com>
+Date: Sun, 7 Sep 2025 09:38:09 +0900
+Subject: [PATCH] util/IMdkit/i18nOffsetCache.c: Fix to realloc Xi18nAtomOffsetPair
+
+Fixes: https://github.com/ibus/ibus/commit/d039b95
+BUG=rhbz#2365138
+---
+ util/IMdkit/i18nOffsetCache.c | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/util/IMdkit/i18nOffsetCache.c b/util/IMdkit/i18nOffsetCache.c
+index cab974c7..ac4b8bb1 100644
+--- a/util/IMdkit/i18nOffsetCache.c
++++ b/util/IMdkit/i18nOffsetCache.c
+@@ -83,9 +83,10 @@ void _Xi18nSetPropertyOffset (Xi18nOffsetCache *offset_cache, Atom key,
+ }
+
+ if (++offset_cache->size > offset_cache->capacity) {
+- Xi18nAtomOffsetPair *pair = (Xi18nAtomOffsetPair *) realloc (data,
+- offset_cache->capacity * sizeof (Xi18nAtomOffsetPair));
++ Xi18nAtomOffsetPair *pair;
+ offset_cache->capacity *= OFFSET_CACHE_GROWTH_FACTOR;
++ pair = (Xi18nAtomOffsetPair *) realloc (data,
++ offset_cache->capacity * sizeof (Xi18nAtomOffsetPair));
+ if (pair) {
+ offset_cache->data = pair;
+ } else {
+--
+2.50.1
+
diff --git a/ibus.spec b/ibus.spec
index c30a982..0f97fb8 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -63,7 +63,7 @@
Name: ibus
Version: 1.5.33~beta1
# https://github.com/fedora-infra/rpmautospec/issues/101
-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
@@ -72,6 +72,7 @@ Source1: https://github.com/ibus/%name/releases/download/%{source_version
Source2: %{name}-xinput
Source3: %{name}.conf.5
# Patch0: %%{name}-HEAD.patch
+Patch0: %{name}-HEAD.patch
# Under testing #1349148 #1385349 #1350291 #1406699 #1432252 #1601577
Patch1: %{name}-1385349-segv-bus-proxy.patch
@@ -638,6 +639,9 @@ dconf update || :
%{_datadir}/installed-tests/ibus
%changelog
+* Sun Sep 07 2025 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.33~beta1-2
+- Resolves: #2365138 Fix to realloc Xi18nAtomOffsetPair in i18nOffsetCache.c
+
* Fri Aug 22 2025 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.33~beta1-1
- Implement preedit semantic APIs
- Fix tests/ibus-keypress for Wayland
reply other threads:[~2026-05-31 2:09 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=178019334034.1.2468145396729459493.rpms-ibus-9f772e024c10@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