projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e367cc
)
[0.4.13][LSASRV] LsapLogonUser(): Fix 'AuthenticatingAuthority' copypasta (#2839)
author
Joachim Henze
<Joachim.Henze@reactos.org>
Sun, 20 Jun 2021 13:37:48 +0000
(15:37 +0200)
committer
Joachim Henze
<Joachim.Henze@reactos.org>
Sun, 20 Jun 2021 13:37:48 +0000
(15:37 +0200)
Reported by contributor 'qarmin', found by static code analysis.
CORE-17074
The glitch once was introduced 7 years ago by SVN r58933 == git
7934e35cdf55b07334f04d86d9c7717b0cb41c0b
There is no real-world-issue known to date caused by this bug.
fix cherry picked from commit 0.4.15-dev-303-g
99d0a348aa4417672ad07720404765b4b2dbe9f5
dll/win32/lsasrv/authpackage.c
patch
|
blob
|
history
diff --git
a/dll/win32/lsasrv/authpackage.c
b/dll/win32/lsasrv/authpackage.c
index
de14037
..
ef8f80a
100644
(file)
--- a/
dll/win32/lsasrv/authpackage.c
+++ b/
dll/win32/lsasrv/authpackage.c
@@
-1801,7
+1801,7
@@
done:
/* Free the authentication authority */
if (AuthenticatingAuthority != NULL)
{
- if (AuthenticatingAuthority != NULL)
+ if (AuthenticatingAuthority
->Buffer
!= NULL)
LsapFreeHeap(AuthenticatingAuthority->Buffer);
LsapFreeHeap(AuthenticatingAuthority);