[Bug 14775] Visere fails to run
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue Aug 5 17:59:48 CDT 2008
http://bugs.winehq.org/show_bug.cgi?id=14775
--- Comment #2 from Louis Lenders <xerox_xerox2000 at yahoo.co.uk> 2008-08-05 17:59:48 ---
simple hack to get the app running:
diff --git a/dlls/shlwapi/url.c b/dlls/shlwapi/url.c
index 03941a9..1cbae31 100644
--- a/dlls/shlwapi/url.c
+++ b/dlls/shlwapi/url.c
@@ -331,7 +331,7 @@ HRESULT WINAPI UrlCanonicalizeW(LPCWSTR pszUrl, LPWSTR
pszCa
*pszCanonicalized = 0;
return S_OK;
}
-
+ if (lstrlenW(pszUrl) > INTERNET_MAX_URL_LENGTH) return E_FAIL;
nByteLen = (lstrlenW(pszUrl) + 1) * sizeof(WCHAR); /* length in bytes */
lpszUrlCpy = HeapAlloc(GetProcessHeap(), 0,
INTERNET_MAX_URL_LENGTH * sizeof(WCHAR));
haven't got a clue if it's correct ;)
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list