oleaut32: Use FADF_HAVEVARTYPE before FADF_RECORD for safearrays

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Thu Mar 18 05:20:31 CDT 2010


Hi,

Both FADF_HAVEVARTYPE and FADF_RECORD both store information at negative 
4 in the safearray, and ODBC(native MDAC) can attempt to copy an array 
with both of these flags set.

This patch allows odbc connection to succeed when the window 98 is used 
instead of a crash.


Changelog:
	oleaut32: Use FADF_HAVEVARTYPE before FADF_RECORD for safearrays

Best Regards
  Alistair Leslie-Hughes
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Use-FADF_HAVEVARTYPE-before-FADF_RECORD-for-safearra.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100318/95dcde01/attachment.txt>


More information about the wine-patches mailing list