[PATCH try3 5/5] wininet: When sending INTERNET_STATUS_HANDLE_CLOSING make sure the freed handle is not yet available.

Misha Koshelev mk144210 at bcm.edu
Thu Aug 23 00:08:05 CDT 2007

A little extra something to be more native, not aware of anything that depends on this behavior
but seems wise to me so that there is no chance of two objects potentially still referring to
different things with the same handle (for example if while HANDLE_CLOSING was being processed
a new handle with the same # was created in a separate process, and then for some reason the
status callback tried to call a wininet function with that handle #, the call would actually
succeed whereas it should fail).
 dlls/wininet/internet.c |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4b2ffd94adb3805412bbc74cf11a95368258fb8f.diff
Type: text/x-patch
Size: 1269 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070823/877bebcd/4b2ffd94adb3805412bbc74cf11a95368258fb8f.bin

More information about the wine-patches mailing list