diff options
author | Simo Sorce <simo@redhat.com> | 2013-04-05 18:04:35 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2013-04-05 18:39:10 -0400 |
commit | 4dc4718becc20224b9da5657b8216af7d4da8ac5 (patch) | |
tree | c36d6a7a194d4b928fc2f44d28e4ae01054574e6 /utils/gssd/gssd.c | |
parent | 0ce973a59ab3393481ba7c434a7353b5007cba71 (diff) | |
download | nfs-utils-4dc4718becc20224b9da5657b8216af7d4da8ac5.tar.gz nfs-utils-4dc4718becc20224b9da5657b8216af7d4da8ac5.tar.xz nfs-utils-4dc4718becc20224b9da5657b8216af7d4da8ac5.zip |
Fix double free when exporting lucid context
When using GSSAPI's gss_krb5_export_lucid_context the context passed into the
function is actually deleted during the export (to avoid reuse as the context
contains state that depends on its usage).
Change the code to pass in a pointer to the context so that it can be properly
NULLed if we are using the GSSAPI context and following calls to
gss_delete_sec_context will not cause double free errors and segfaults.
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'utils/gssd/gssd.c')
0 files changed, 0 insertions, 0 deletions