Andrew Talbot : mscoree: Fix a zero-sized array.

Alexandre Julliard julliard at winehq.org
Wed Aug 31 13:19:20 CDT 2011


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Tue Aug 30 22:34:51 2011 +0100

mscoree: Fix a zero-sized array.

---

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

diff --git a/dlls/mscoree/corruntimehost.c b/dlls/mscoree/corruntimehost.c
index 146dd23..609b73e 100644
--- a/dlls/mscoree/corruntimehost.c
+++ b/dlls/mscoree/corruntimehost.c
@@ -149,7 +149,7 @@ static void RuntimeHost_DeleteDomain(RuntimeHost *This, MonoDomain *domain)
 static HRESULT RuntimeHost_GetIUnknownForDomain(RuntimeHost *This, MonoDomain *domain, IUnknown **punk)
 {
     HRESULT hr;
-    void *args[0];
+    void *args[1];
     MonoAssembly *assembly;
     MonoImage *image;
     MonoClass *klass;




More information about the wine-cvs mailing list