[PATCH] user32: Avoid buffer overflow on long texts in winproc.

Roman Pišl rpisl at seznam.cz
Wed Mar 25 07:57:05 CDT 2020

I see, I was also thinking about that. Probably not. But is there a 
better solution? And does it harm? This is the same solution as for 
example handling WM_GETTEXTLENGTH.

Ok, the patch is linked from the bug and stay in my working copy. And I 
will eventually make it better if I get some hints.


Dne 25. 03. 20 v 13:36 Nikolay Sivov napsal(a):
> On 3/25/20 3:33 PM, Roman Pišl wrote:
>> Hello,
>> this one fell off the list. Is it completely wrong or just nobody is 
>> interested? Or writing a test would help (which is easy in this case)? 
>> Also simple controls demo applications are affected - pasting large 
>> text into the control is enough for crash.
> Main question I guess is, does it really call with TEXTLEN messages on 
> Windows?

More information about the wine-devel mailing list