Check for NULL handle validation in set_focus_window function

Santosh Siddheshwar santosh.s at sonata-software.com
Thu Mar 25 04:19:11 CST 2004


Hi,
	In function set_focus_window() ( File: /dlls/user/focus.c ) window
handle received through parameter is not checking for NULL handle, this is
causing crash in wine in some circumstances. Modified the function
set_focus_wine() to handle the NULL handles.

Change Log: Change for NULL handle validation in function
set_focus_window().
Name: Santosh Siddheshwar
Mail Id: santosh.s at sonata-software.com
Regards
Santosh
 <<patch.diff>> 

*********************************************************************
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*********************************************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: application/octet-stream
Size: 383 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20040325/3dbcf70a/patch.obj


More information about the wine-patches mailing list