[Uim-bugs] [Bug 14812] New: Crash because of misusing iconv (uim-1.4.2 and older)
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Mar 4 13:14:55 PST 2008
http://bugs.freedesktop.org/show_bug.cgi?id=14812
Summary: Crash because of misusing iconv (uim-1.4.2 and older)
Product: UIM
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: critical
Priority: medium
Component: bridge: XIM
AssignedTo: uim-bugs at freedesktop.org
ReportedBy: g-hal+bugs.freedesktop.org at fenix.ne.jp
Created an attachment (id=14821)
--> (http://bugs.freedesktop.org/attachment.cgi?id=14821)
patch, for fix the problem.
uim-xim sometimes cause crash, because of misuse of iconv.
Relevant version is uim-1.4.2 and older versions.
1)
A string returned by iconv() is not ASCIIZ.
The end of string is not a charactor '\x0'.
2)
It is required that calling iconv() with inbuf = NULL, inbytesleft = NULL to
finish a session of conversion.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the uim-bugs
mailing list