Bug 2359375

Summary: Some random file are created in home directory after using the English input mode
Product: [Fedora] Fedora Reporter: Peng Wu <pwu>
Component: ibus-libpinyinAssignee: Peng Wu <pwu>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 42CC: i18n-bugs, petersen, pwu
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: ibus-libpinyin-1.16.1-2.fc42 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-04-15 18:01:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Peng Wu 2025-04-14 03:29:33 UTC
When fix the Coverity scan report, a use-after-free bug is introduced.

After using the English mode in ibus-libpinyin, some random file is created in the home directory after re-login.


Reproducible: Always

Steps to Reproduce:
1. Open gnome-text-editor, switch to "Intelligent Pinyin" input method
2. Enter "vEnglish", and press the space key
3. After re-login, some random file is created in the Home directory
Actual Results:
Some random file is created in the home directory.

Expected Results:
The sqlite file is stored in the ~/.cache/ibus/libpinyin directory.

Comment 1 Fedora Update System 2025-04-14 05:55:27 UTC
FEDORA-2025-898c899962 (ibus-libpinyin-1.16.1-2.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-898c899962

Comment 2 Fedora Update System 2025-04-15 18:01:59 UTC
FEDORA-2025-898c899962 (ibus-libpinyin-1.16.1-2.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.