diff options
author | Greg Hudson <ghudson@mit.edu> | 2018-09-13 11:29:46 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2018-09-17 18:31:15 -0400 |
commit | 9e32161dc307a323fd36fd59e252583fe7b90526 (patch) | |
tree | 5335e051fb30449f622468e5fbaacc3178bcee9e /.gitignore | |
parent | 8ea7e36661cfa6d8acb2b1af615870092a408cce (diff) | |
download | krb5-9e32161dc307a323fd36fd59e252583fe7b90526.zip krb5-9e32161dc307a323fd36fd59e252583fe7b90526.tar.gz krb5-9e32161dc307a323fd36fd59e252583fe7b90526.tar.bz2 |
Fix memory leak in gss_add_cred() creation case
If gss_add_cred() is called with no input_cred_handle, it creates a
new credential with one element. At the end of the function, use the
created credential as the output container, rather than creating a
second one and leaking the first.
Add a test program for gss_add_cred() and run it.
ticket: 8729
tags: pullup
target_version: 1.16-next
target_version: 1.15-next
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -465,6 +465,7 @@ local.properties /src/tests/gssapi/ccinit /src/tests/gssapi/ccrefresh /src/tests/gssapi/t_accname +/src/tests/gssapi/t_add_cred /src/tests/gssapi/t_ccselect /src/tests/gssapi/t_ciflags /src/tests/gssapi/t_credstore |