[Bug 2832] New: Broken implementation of XIMStringConversionCallback in libX11.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Mar 26 21:06:21 PST 2005


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=2832          
     
           Summary: Broken implementation of XIMStringConversionCallback in
                    libX11.
           Product: xorg
           Version: 6.8.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Lib/Xlib
        AssignedTo: xorg-bugzilla-noise at freedesktop.org
        ReportedBy: suzhe at tsinghua.org.cn
                CC: sndirsch at suse.de


Hi,
  Recently I'm investigating how to implement surrounding text support in SCIM
XIM server. I found that XIMStringConversionCallback API in XIM can be used to
do such job. But laterly I found that the implementation of this API in libX11
is broken.
  You may read the source file lib/X11/imCallbk.c line 285-365
_XimStrConversionCallback function. The implementation of this function is
completely broken, for example, it doesn't handle null pointer exceptions,
wide_char and multibyte string issue and doesn't do memory free, etc.

  I'll try to fix the implementation, but I'm not a X11 expert, so I'll very
apperciate if you can fix it or give me some hint on how to fix it.

ps. surrounding text support very important for some CTL languages.          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list