Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
ff5db66c
Commit
ff5db66c
authored
Aug 04, 2023
by
Hans Leidekker
Committed by
Alexandre Julliard
Aug 04, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Also copy user function tables in nego_SpInitLsaModeContext() and…
secur32: Also copy user function tables in nego_SpInitLsaModeContext() and nego_SpAcceptLsaModeContext().
parent
b43ba81e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
negotiate.c
dlls/secur32/negotiate.c
+4
-0
No files found.
dlls/secur32/negotiate.c
View file @
ff5db66c
...
@@ -225,6 +225,8 @@ static NTSTATUS NTAPI nego_SpInitLsaModeContext( LSA_SEC_HANDLE credential, LSA_
...
@@ -225,6 +225,8 @@ static NTSTATUS NTAPI nego_SpInitLsaModeContext( LSA_SEC_HANDLE credential, LSA_
if
(
!
(
new_ctxt
=
ctxt
=
calloc
(
1
,
sizeof
(
*
ctxt
)
)))
return
SEC_E_INSUFFICIENT_MEMORY
;
if
(
!
(
new_ctxt
=
ctxt
=
calloc
(
1
,
sizeof
(
*
ctxt
)
)))
return
SEC_E_INSUFFICIENT_MEMORY
;
ctxt
->
krb
=
cred
->
krb
;
ctxt
->
krb
=
cred
->
krb
;
ctxt
->
ntlm
=
cred
->
ntlm
;
ctxt
->
ntlm
=
cred
->
ntlm
;
ctxt
->
user_krb
=
cred
->
user_krb
;
ctxt
->
user_ntlm
=
cred
->
user_ntlm
;
}
}
if
(
!
handle
)
return
SEC_E_INVALID_HANDLE
;
if
(
!
handle
)
return
SEC_E_INVALID_HANDLE
;
...
@@ -278,6 +280,8 @@ static NTSTATUS NTAPI nego_SpAcceptLsaModeContext( LSA_SEC_HANDLE credential, LS
...
@@ -278,6 +280,8 @@ static NTSTATUS NTAPI nego_SpAcceptLsaModeContext( LSA_SEC_HANDLE credential, LS
if
(
!
(
new_ctxt
=
ctxt
=
calloc
(
1
,
sizeof
(
*
ctxt
)
)))
return
SEC_E_INSUFFICIENT_MEMORY
;
if
(
!
(
new_ctxt
=
ctxt
=
calloc
(
1
,
sizeof
(
*
ctxt
)
)))
return
SEC_E_INSUFFICIENT_MEMORY
;
ctxt
->
krb
=
cred
->
krb
;
ctxt
->
krb
=
cred
->
krb
;
ctxt
->
ntlm
=
cred
->
ntlm
;
ctxt
->
ntlm
=
cred
->
ntlm
;
ctxt
->
user_krb
=
cred
->
user_krb
;
ctxt
->
user_ntlm
=
cred
->
user_ntlm
;
}
}
if
(
!
handle
)
return
SEC_E_INVALID_HANDLE
;
if
(
!
handle
)
return
SEC_E_INVALID_HANDLE
;
...
...
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