[PATCH] oleaut32: ERR on 32bit typelibs on 64bit

Marcus Meissner meissner at suse.de
Tue Jul 16 14:26:00 CDT 2013


Triggered by the Novell Groupwise installer currently,
from the ISBE64W.exe Installshield Helper program.

The typelib is contained directly in ISBE64W.exe itself :/

Ciao, Marucs
---
 dlls/oleaut32/typelib.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index e762e1b..1c1e21f 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -6595,6 +6595,10 @@ DispCallFunc(
 	FIXME("unsupported calling convention %d\n",cc);
         return E_INVALIDARG;
     }
+    if (oVft & 4) {
+	ERR("loaded a typelib that assumes 32bit pointers, not 64bit pointers? (oVft=%lx).\n",oVft);
+        return E_INVALIDARG;
+    }
 
     /* maximum size for an argument is sizeof(DWORD_PTR) */
     args = heap_alloc( sizeof(DWORD_PTR) * (cActuals + 2) );
-- 
1.8.3




More information about the wine-patches mailing list