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
91502b06
Commit
91502b06
authored
Jan 28, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cabinet/tests: Fix accesses to an invalid pointer.
parent
221c115e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
extract.c
dlls/cabinet/tests/extract.c
+2
-1
No files found.
dlls/cabinet/tests/extract.c
View file @
91502b06
...
...
@@ -670,6 +670,7 @@ static void test_Extract(void)
lstrcpyA
(
session
.
Destination
,
"dest"
);
session
.
Operation
=
EXTRACT_FILLFILELIST
|
EXTRACT_EXTRACTFILES
;
res
=
pExtract
(
&
session
,
"extract.cab"
);
node
=
session
.
FileList
;
todo_wine
{
ok
(
res
==
HRESULT_FROM_WIN32
(
ERROR_ACCESS_DENIED
)
||
res
==
E_FAIL
,
...
...
@@ -694,8 +695,8 @@ static void test_Extract(void)
todo_wine
{
ok
(
!
DeleteFileA
(
"dest
\\
testdir
\\
d.txt"
),
"Expected dest
\\
testdir
\\
d.txt to not exist
\n
"
);
}
ok
(
!
check_list
(
&
node
,
"testdir
\\
d.txt"
,
FALSE
),
"list entry should not exist
\n
"
);
}
ok
(
!
check_list
(
&
node
,
"testdir
\\
c.txt"
,
FALSE
),
"list entry wrong
\n
"
);
ok
(
!
check_list
(
&
node
,
"b.txt"
,
FALSE
),
"list entry wrong
\n
"
);
ok
(
!
check_list
(
&
node
,
"a.txt"
,
TRUE
),
"list entry wrong
\n
"
);
...
...
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