[ros-diffs] [cwittich] 43737: don't crash in msi install winetest
cwittich at svn.reactos.org
cwittich at svn.reactos.org
Sun Oct 25 12:14:03 CET 2009
Author: cwittich
Date: Sun Oct 25 12:14:03 2009
New Revision: 43737
URL: http://svn.reactos.org/svn/reactos?rev=43737&view=rev
Log:
don't crash in msi install winetest
Modified:
trunk/reactos/dll/win32/shell32/shelllink.c
Modified: trunk/reactos/dll/win32/shell32/shelllink.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shelllink.c?rev=43737&r1=43736&r2=43737&view=diff
==============================================================================
--- trunk/reactos/dll/win32/shell32/shelllink.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/shelllink.c [iso-8859-1] Sun Oct 25 12:14:03 2009
@@ -2168,6 +2168,8 @@
UINT len;
TRACE("(%p)->(path=%s)\n",This, debugstr_w(pszFile));
+
+ if (!pszFile) return E_INVALIDARG;
/* quotes at the ends of the string are stripped */
len = wcslen(pszFile);
More information about the Ros-diffs
mailing list