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
084c8cc9
Commit
084c8cc9
authored
Mar 12, 2024
by
Marcus Meissner
Committed by
Alexandre Julliard
Mar 12, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Fix size passed to GetModuleFileNameW.
parent
354ddcb3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
exception.c
dlls/ntdll/tests/exception.c
+1
-1
No files found.
dlls/ntdll/tests/exception.c
View file @
084c8cc9
...
@@ -10304,7 +10304,7 @@ static void test_backtrace(void)
...
@@ -10304,7 +10304,7 @@ static void test_backtrace(void)
if
(
count
&&
!
buffer
[
count
-
1
])
count
--
;
/* win11 32-bit */
if
(
count
&&
!
buffer
[
count
-
1
])
count
--
;
/* win11 32-bit */
RtlPcToFileHeader
(
buffer
[
count
-
1
],
&
module
);
RtlPcToFileHeader
(
buffer
[
count
-
1
],
&
module
);
GetModuleFileNameW
(
module
,
name
,
sizeof
(
name
)
);
GetModuleFileNameW
(
module
,
name
,
ARRAY_SIZE
(
name
)
);
if
((
p
=
wcsrchr
(
name
,
'\\'
)))
p
++
;
if
((
p
=
wcsrchr
(
name
,
'\\'
)))
p
++
;
else
p
=
name
;
else
p
=
name
;
ok
(
!
wcsicmp
(
p
,
L"ntdll.dll"
),
"wrong module %p %s for frame %u %p
\n
"
,
ok
(
!
wcsicmp
(
p
,
L"ntdll.dll"
),
"wrong module %p %s for frame %u %p
\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