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

Misha Koshelev mk144210 at bcm.edu
Fri Sep 21 21:27:48 CDT 2007

Sorry for the long delay with this patch, here is the last version I sent:

And here are Alexandre's comments:

I believe my change in this line (the part after the &&)

   if( WININET_dwNextHandle > handle && !WININET_Handles[handle] )
        WININET_dwNextHandle = handle;

addresses Alexandre's comments about making sure hte handle has not been reused.

 dlls/wininet/internet.c |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6bf628f172e04aa4781d71ed12a2bfb0bab5fd3b.diff
Type: text/x-patch
Size: 1432 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070921/8629c8aa/attachment.bin 

More information about the wine-patches mailing list