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
fa32d538
Commit
fa32d538
authored
Feb 08, 2007
by
Marcus Meissner
Committed by
Alexandre Julliard
Feb 13, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Fixed WCHAR overflow.
parent
9d90abe1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
rtlstr.c
dlls/ntdll/tests/rtlstr.c
+1
-2
No files found.
dlls/ntdll/tests/rtlstr.c
View file @
fa32d538
...
...
@@ -637,7 +637,7 @@ static void test_RtlDowncaseUnicodeString(void)
UNICODE_STRING
result_str
;
UNICODE_STRING
lower_str
;
for
(
i
=
0
;
i
<
=
1024
;
i
++
)
{
for
(
i
=
0
;
i
<
1024
;
i
++
)
{
ch
=
(
WCHAR
)
i
;
if
(
ch
>=
'A'
&&
ch
<=
'Z'
)
{
lower_ch
=
ch
-
'A'
+
'a'
;
...
...
@@ -678,7 +678,6 @@ static void test_RtlDowncaseUnicodeString(void)
case
0x38c
:
lower_ch
=
0x3cc
;
break
;
case
0x38e
:
lower_ch
=
0x3cd
;
break
;
case
0x38f
:
lower_ch
=
0x3ce
;
break
;
case
0x400
:
lower_ch
=
0x0
;
break
;
default:
lower_ch
=
ch
;
break
;
}
/* switch */
}
...
...
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