Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
dbef32e4
Commit
dbef32e4
authored
Feb 04, 2007
by
Mikołaj Zalewski
Committed by
Alexandre Julliard
Feb 07, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: shlfileop tests: Avoid buffer overflows for paths.
parent
8e527542
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
shlfileop.c
dlls/shell32/tests/shlfileop.c
+6
-6
No files found.
dlls/shell32/tests/shlfileop.c
View file @
dbef32e4
...
...
@@ -329,8 +329,8 @@ static void test_delete(void)
static
void
test_rename
(
void
)
{
SHFILEOPSTRUCTA
shfo
,
shfo2
;
CHAR
from
[
MAX_PATH
];
CHAR
to
[
MAX_PATH
];
CHAR
from
[
5
*
MAX_PATH
];
CHAR
to
[
5
*
MAX_PATH
];
DWORD
retval
;
shfo
.
hwnd
=
NULL
;
...
...
@@ -438,8 +438,8 @@ static void test_rename(void)
static
void
test_copy
(
void
)
{
SHFILEOPSTRUCTA
shfo
,
shfo2
;
CHAR
from
[
MAX_PATH
];
CHAR
to
[
MAX_PATH
];
CHAR
from
[
5
*
MAX_PATH
];
CHAR
to
[
5
*
MAX_PATH
];
FILEOP_FLAGS
tmp_flags
;
DWORD
retval
;
...
...
@@ -767,8 +767,8 @@ static void test_copy(void)
static
void
test_move
(
void
)
{
SHFILEOPSTRUCTA
shfo
,
shfo2
;
CHAR
from
[
MAX_PATH
];
CHAR
to
[
MAX_PATH
];
CHAR
from
[
5
*
MAX_PATH
];
CHAR
to
[
5
*
MAX_PATH
];
DWORD
retval
;
shfo
.
hwnd
=
NULL
;
...
...
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