Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jdk17u
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
einsteinathome
openjdk
jdk17u
Commits
48a853e2
Commit
48a853e2
authored
3 years ago
by
Aleksei Voitylov
Committed by
Christoph Langer
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
8286077: Wider MultiByte conversions
Reviewed-by: mbalao Backport-of: db81dae16f975d7d27c9acf3f4775c9d389895e2
parent
60c9b382
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/java.security.jgss/windows/native/libsspi_bridge/sspi.cpp
+1
-1
1 addition, 1 deletion
...java.security.jgss/windows/native/libsspi_bridge/sspi.cpp
with
1 addition
and
1 deletion
src/java.security.jgss/windows/native/libsspi_bridge/sspi.cpp
+
1
−
1
View file @
48a853e2
...
...
@@ -897,7 +897,7 @@ gss_init_sec_context(OM_uint32 *minor_status,
gss_buffer_desc
tn
;
gss_display_name
(
&
minor
,
target_name
,
&
tn
,
NULL
);
int
len
=
MultiByteToWideChar
(
CP_UTF8
,
0
,
(
LPCCH
)
tn
.
value
,
(
int
)
tn
.
length
,
outName
,
sizeof
(
outName
)
-
1
);
outName
,
(
sizeof
(
outName
)
/
sizeof
(
outName
[
0
]))
-
1
);
if
(
len
==
0
)
{
goto
err
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment