[OLE #76] Avoid infinite loop when doing a typelib marshalled IUnknown::QueryInterface

Rob Shearman rob at codeweavers.com
Mon Feb 21 00:01:08 CST 2005


Mike Hearn wrote:

>Mike Hearn <mh at codeweavers.com>
>Avoid infinite loop when doing a typelib marshalled
>IUnknown::QueryInterface by only doing an extra QI if requested IID is
>not equal to marshalled IID.
>  
>

Does this happen with only builtin oleaut32? If so, it should be fixed 
so that it doesn't cause an infinite loop. I don't think standard 
marshaled proxies should cause infinite loops (if I remember the test 
cases we have correctly).
However, this patch should go in as it is a good optimisation.

Rob



More information about the wine-devel mailing list