Andrew Talbot : mscoree: Fix a zero-sized array.
Module: wine Branch: master Commit: ee9c02798650ecea1a8cee60feff9677125ec9ef URL: http://source.winehq.org/git/wine.git/?a=commit;h=ee9c02798650ecea1a8cee60fe... Author: Andrew Talbot <andrew.talbot(a)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;
participants (1)
-
Alexandre Julliard