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

James Hawkins truiken at gmail.com
Wed Sep 19 23:36:36 CDT 2007


Hi,

This version compares the pointer value to 64000 instead of using a
try/catch block, as suggested by Alexandre.

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

 dlls/kernel32/heap.c       |    2 +-
 dlls/kernel32/tests/heap.c |    7 +++++++
 2 files changed, 8 insertions(+), 1 deletions(-)

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


More information about the wine-patches mailing list