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
0dddf2a1
Commit
0dddf2a1
authored
May 14, 2018
by
Andrey Gusev
Committed by
Alexandre Julliard
May 15, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Check array index limit first.
Signed-off-by:
Andrey Gusev
<
andrey.goosev@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
40b211b6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
shelllink.c
dlls/shell32/shelllink.c
+1
-1
xdg.c
dlls/shell32/xdg.c
+1
-1
No files found.
dlls/shell32/shelllink.c
View file @
0dddf2a1
...
...
@@ -613,7 +613,7 @@ static LPWSTR Stream_LoadPath( LPCSTR p, DWORD maxlen )
int
len
=
0
,
wlen
;
LPWSTR
path
;
while
(
p
[
len
]
&&
(
len
<
maxlen
)
)
while
(
(
len
<
maxlen
)
&&
p
[
len
]
)
len
++
;
wlen
=
MultiByteToWideChar
(
CP_ACP
,
0
,
p
,
len
,
NULL
,
0
);
...
...
dlls/shell32/xdg.c
View file @
0dddf2a1
...
...
@@ -341,7 +341,7 @@ static int dskentry_decode(const char *value, int len, char *output)
while
(
pos
<
len
)
{
char
c
;
if
(
value
[
pos
]
==
'\\'
&&
pos
<
len
-
1
)
if
(
pos
<
len
-
1
&&
value
[
pos
]
==
'\\'
)
{
pos
++
;
switch
(
value
[
pos
])
...
...
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