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
688e0d2e
Commit
688e0d2e
authored
Apr 18, 2012
by
Carlo Bramini
Committed by
Alexandre Julliard
Jun 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi: Add NULL checks to StrCpyW and StrCatW.
(cherry picked from commit
f6524a9f
)
parent
a1a9712b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
string.c
dlls/shlwapi/string.c
+4
-2
No files found.
dlls/shlwapi/string.c
View file @
688e0d2e
...
...
@@ -477,7 +477,8 @@ LPWSTR WINAPI StrCatW(LPWSTR lpszStr, LPCWSTR lpszSrc)
{
TRACE
(
"(%s,%s)
\n
"
,
debugstr_w
(
lpszStr
),
debugstr_w
(
lpszSrc
));
strcatW
(
lpszStr
,
lpszSrc
);
if
(
lpszStr
&&
lpszSrc
)
strcatW
(
lpszStr
,
lpszSrc
);
return
lpszStr
;
}
...
...
@@ -497,7 +498,8 @@ LPWSTR WINAPI StrCpyW(LPWSTR lpszStr, LPCWSTR lpszSrc)
{
TRACE
(
"(%p,%s)
\n
"
,
lpszStr
,
debugstr_w
(
lpszSrc
));
strcpyW
(
lpszStr
,
lpszSrc
);
if
(
lpszStr
&&
lpszSrc
)
strcpyW
(
lpszStr
,
lpszSrc
);
return
lpszStr
;
}
...
...
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