kernel32: Don't crash accessing an invalid handle in GlobalSize

James Hawkins truiken at gmail.com
Tue Sep 18 00:18:04 CDT 2007


Hi,

Our DDE message 16<->32 conversion in user32 crashes when calling
GlobalSize on an atom (the parameter is either global memory or an
atom).

Changelog:
* Don't crash accessing an invalid handle in GlobalSize.

 dlls/kernel32/heap.c       |    6 ++++++
 dlls/kernel32/tests/heap.c |    7 +++++++
 2 files changed, 13 insertions(+), 0 deletions(-)

-- 
James Hawkins
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0009-Don-t-crash-accessing-an-invalid-handle-in-GlobalSize.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20070918/09b1ca1c/attachment.txt 


More information about the wine-patches mailing list