wininet: Deal with bogus accept types array passed into HttpOpenRequestA.

Hans Leidekker hans at it.vu.nl
Wed May 7 06:19:37 CDT 2008


The bug reporting agent in Google Sketchup passes an accept types
array that includes a wild pointer and a pointer to an empty string,
both of which are ignored by Windows. Although the wild pointer changed
between a number of tries its high word remained unset, so we may get
away with a check on the high word instead of an exception handler.

Fixes http://bugs.winehq.org/show_bug.cgi?id=11954

 -Hans

Changelog
 Deal with bogus accept types array passed into HttpOpenRequestA.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wininet_bogus_accept_types.diff
Type: text/x-diff
Size: 4404 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080507/9ebd9eae/attachment-0001.diff 


More information about the wine-patches mailing list