[GetWindowTextA/W] Passing a NULL pointer
Paul Vriens
paul.vriens at xs4all.nl
Wed May 11 03:32:32 CDT 2005
Hi,
while playing with Process Explorer I saw a call to GetWindowText with a
NULL pointer. This crashes Wine but doesn't seem to have a negative effect
on
Windows.
I hope this is the correct solution.
Added a simple test for this as well.
Changelog
Check for a NULL pointer
Cheers,
Paul Vriens.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: win.c.diff
Type: text/x-patch
Size: 668 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050511/e4bbaebc/win.c.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tests_win.c.diff
Type: text/x-patch
Size: 658 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050511/e4bbaebc/tests_win.c.bin
More information about the wine-patches
mailing list