git.samba.org
/
idra
/
gss-ntlmssp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84676ee
)
Fix memory leak in NTLMv2 acceptor code
author
Simo Sorce
<simo@redhat.com>
Sat, 17 May 2014 13:30:34 +0000
(15:30 +0200)
committer
Simo Sorce
<simo@redhat.com>
Sat, 17 May 2014 13:32:07 +0000
(15:32 +0200)
src/gss_sec_ctx.c
patch
|
blob
|
history
diff --git
a/src/gss_sec_ctx.c
b/src/gss_sec_ctx.c
index c682b14c90f7989e23debb51c197453f893c50e8..427225619462ae1dc308fb0dd58b1899e8653642 100644
(file)
--- a/
src/gss_sec_ctx.c
+++ b/
src/gss_sec_ctx.c
@@
-1368,6
+1368,9
@@
done:
safefree(usr_name);
safefree(dom_name);
safefree(wks_name);
+ ntlm_free_buffer_data(&nt_chal_resp);
+ ntlm_free_buffer_data(&lm_chal_resp);
+ ntlm_free_buffer_data(&enc_sess_key);
ntlm_free_buffer_data(&target_info);
return retmaj;
}