Andrey Turkin : ole32: Prevent recursion when CLSIDFromString is passed empty string.

Alexandre Julliard julliard at winehq.org
Tue Jan 20 08:27:31 CST 2009


Module: wine
Branch: master
Commit: 644220b518dfb574c1f5dee22065d88b9603e7c7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=644220b518dfb574c1f5dee22065d88b9603e7c7

Author: Andrey Turkin <andrey.turkin at gmail.com>
Date:   Mon Jan 19 18:11:22 2009 +0300

ole32: Prevent recursion when CLSIDFromString is passed empty string.

---

 dlls/ole32/compobj.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index 4e926ec..b8ddba8 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -1694,7 +1694,7 @@ HRESULT WINAPI CLSIDFromProgID(LPCOLESTR progid, LPCLSID clsid)
         return CO_E_CLASSSTRING;
     }
     RegCloseKey(xhkey);
-    return CLSIDFromString(buf2,clsid);
+    return __CLSIDFromString(buf2,clsid);
 }
 
 




More information about the wine-cvs mailing list