Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
9d6204b2
Commit
9d6204b2
authored
Nov 21, 2011
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 21, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Avoid null pointer dereference in traces.
parent
85ce39dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
21 deletions
+11
-21
shellpath.c
dlls/shell32/shellpath.c
+11
-21
No files found.
dlls/shell32/shellpath.c
View file @
9d6204b2
...
...
@@ -669,37 +669,27 @@ BOOL WINAPI PathQualifyAW(LPCVOID pszPath)
return
PathQualifyA
(
pszPath
);
}
static
BOOL
PathResolveA
(
LPSTR
lpszPath
,
LPCSTR
*
alpszPaths
,
DWORD
dwFlags
)
static
BOOL
PathResolveA
(
LPSTR
path
,
LPCSTR
*
paths
,
DWORD
flags
)
{
FIXME
(
"(%s,%p,0x%08x),stub!
\n
"
,
lpszPath
,
*
alpszPaths
,
dwFlags
);
return
0
;
FIXME
(
"(%s,%p,0x%08x),stub!
\n
"
,
debugstr_a
(
path
),
paths
,
flags
);
return
FALSE
;
}
static
BOOL
PathResolveW
(
LPWSTR
lpszPath
,
LPCWSTR
*
alpszPaths
,
DWORD
dwFlags
)
static
BOOL
PathResolveW
(
LPWSTR
path
,
LPCWSTR
*
paths
,
DWORD
flags
)
{
FIXME
(
"(%s,%p,0x%08x),stub!
\n
"
,
debugstr_w
(
lpszPath
),
debugstr_w
(
*
alpszPaths
),
dwFlags
);
return
0
;
FIXME
(
"(%s,%p,0x%08x),stub!
\n
"
,
debugstr_w
(
path
),
paths
,
flags
);
return
FALSE
;
}
/*************************************************************************
* PathResolve [SHELL32.51]
*/
BOOL
WINAPI
PathResolveAW
(
LPVOID
lpszPath
,
LPCVOID
*
alpszPaths
,
DWORD
dwFlags
)
BOOL
WINAPI
PathResolveAW
(
LPVOID
path
,
LPCVOID
*
paths
,
DWORD
flags
)
{
if
(
SHELL_OsIsUnicode
())
return
PathResolveW
(
lpszPath
,
(
LPCWSTR
*
)
alpszPaths
,
dwFlags
);
return
PathResolveA
(
lpszPath
,
(
LPCSTR
*
)
alpszPaths
,
dwFlags
);
if
(
SHELL_OsIsUnicode
())
return
PathResolveW
(
path
,
(
LPCWSTR
*
)
paths
,
flags
);
else
return
PathResolveA
(
path
,
(
LPCSTR
*
)
paths
,
flags
);
}
/*************************************************************************
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment