[PATCH] user32: Add an exception handler to GetWindowText.

Zebediah Figura (she/her) zfigura at codeweavers.com
Wed Oct 13 09:42:02 CDT 2021


On 10/13/21 05:18, Dmitry Timoshkov wrote:
> Rémi Bernon <rbernon at codeweavers.com> wrote:
> 
>> Then I'm not sure if it's good to catch all exceptions. It will swallow
>> any error coming from the heap or send message. Is it really what it
>> should do?
> 
> I have an application that passes rubbish addresses to GetWindowText(),
> and apparently it works fine under Windows.
> 

Should the exception be handled here, though? Is it swallowed for the 
cross-process case? Should it be in DefWindowProc() instead?



More information about the wine-devel mailing list