Author: mjansen
Date: Sun Jul 16 13:44:18 2017
New Revision: 75356
URL:
http://svn.reactos.org/svn/reactos?rev=75356&view=rev
Log:
[SHELL32] Do not dereference a nullpointer for logging. CORE-13552
Modified:
trunk/reactos/dll/win32/shell32/wine/shell32_main.c
Modified: trunk/reactos/dll/win32/shell32/wine/shell32_main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/wine/she…
==============================================================================
--- trunk/reactos/dll/win32/shell32/wine/shell32_main.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/wine/shell32_main.c [iso-8859-1] Sun Jul 16 13:44:18
2017
@@ -423,7 +423,7 @@
TRACE("%s fattr=0x%x sfi=%p(attr=0x%08x) size=0x%x flags=0x%x\n",
(flags & SHGFI_PIDL)? "pidl" : debugstr_w(path),
dwFileAttributes,
- psfi, psfi->dwAttributes, sizeofpsfi, flags);
+ psfi, psfi ? psfi->dwAttributes : 0, sizeofpsfi, flags);
if (!path)
return FALSE;