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
bfa2c5ea
Commit
bfa2c5ea
authored
Jan 29, 2012
by
Erich Hoover
Committed by
Alexandre Julliard
Jan 30, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Fix domain component length check.
parent
d56070a2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
chain.c
dlls/crypt32/chain.c
+5
-0
chain.c
dlls/crypt32/tests/chain.c
+0
-0
No files found.
dlls/crypt32/chain.c
View file @
bfa2c5ea
...
@@ -3162,6 +3162,11 @@ static BOOL match_domain_component(LPCWSTR allowed_component, DWORD allowed_len,
...
@@ -3162,6 +3162,11 @@ static BOOL match_domain_component(LPCWSTR allowed_component, DWORD allowed_len,
BOOL
matches
=
TRUE
;
BOOL
matches
=
TRUE
;
*
see_wildcard
=
FALSE
;
*
see_wildcard
=
FALSE
;
/* permit server_len to be one byte short if allowed_component is NULL terminated */
if
(
allowed_component
[
allowed_len
-
1
]
==
0
)
allowed_len
--
;
if
(
server_len
<
allowed_len
)
if
(
server_len
<
allowed_len
)
{
{
WARN_
(
chain
)(
"domain component %s too short for %s
\n
"
,
WARN_
(
chain
)(
"domain component %s too short for %s
\n
"
,
...
...
dlls/crypt32/tests/chain.c
View file @
bfa2c5ea
This diff is collapsed.
Click to expand it.
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