mscoree: change WCHAR version[ ] in GetCORVersion to prevent a
crash
James Hawkins
truiken at gmail.com
Wed Nov 1 15:42:49 CST 2006
On 11/1/06, Louis. Lenders <xerox_xerox2000 at yahoo.co.uk> wrote:
> Hi, this, on top of previous patch, makes the directx redistributable 9.0c
> october 2006 install succeed fine instead of crashing.
>
>
> Send instant messages to your online friends http://uk.messenger.yahoo.com
> diff --git a/dlls/mscoree/mscoree_main.c b/dlls/mscoree/mscoree_main.c
> index d3e522e..a17cc23 100644
> --- a/dlls/mscoree/mscoree_main.c
> +++ b/dlls/mscoree/mscoree_main.c
> @@ -100,7 +100,7 @@ DWORD _CorValidateImage(LPCVOID* imageBa
>
> HRESULT WINAPI GetCORVersion(LPWSTR pbuffer, DWORD cchBuffer, DWORD
> *dwLength)
> {
> - static const WCHAR version[] =
> {'1','.','1','.','4','3','2','2',0};
> + static const WCHAR version[] =
> {'1',',','1',',','4','3','2','2',0};
>
This will break the Acid Pro Media installer. It specifically checks
for the first value. I'm guessing your installer specifically checks
for the second value. I don't have a proper solution, just letting
you know that another installer will break.
--
James Hawkins
More information about the wine-devel
mailing list