[Bug 9838] Input Method's output overruns the buffer of wine keyboard input

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Oct 1 07:04:21 CDT 2007


http://bugs.winehq.org/show_bug.cgi?id=9838


Taisuke Maekawa <fygar256 at ybb.ne.jp> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |REMIND




--- Comment #1 from Taisuke Maekawa <fygar256 at ybb.ne.jp>  2007-10-01 07:04:20 ---
Now I'm using the applications which need Input Method with a little patch.

The patch I have done is the following:
------------start--------------------
   In wine-0.9.46/dlls/winex11.drv/keyboard.c

   (1) at Line  1355

                 char   Str[24];

        change the buffer size to          

                 char   Str[1024];

   (2) at line 2390

                 char   lpChar[10];

       change the buffer size to

                 char   lpChar[1024];

----------END------------------------
and recompile wine.

I don't know how long Japanese or Chinese letter string can be inputed
by the changes. However I could input the sentence long enough for practical
use
at once.

This patch cannot resolve the problem that the application will be down when 
the long sentence inputed over the buffer.

Good News?


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list