]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix leak on GSS module symbol resolution error
authorSimo Sorce <simo@redhat.com>
Thu, 10 Jul 2014 14:04:06 +0000 (10:04 -0400)
committerGreg Hudson <ghudson@mit.edu>
Mon, 21 Jul 2014 03:38:37 +0000 (23:38 -0400)
commit53362ba69fb5a60386dd358c3450bfcf4f6b7346
tree28f71ce88e51a9c50c081e5d60499f1185042380
parentb0d8a9d85cf2d42dec75fe3bf57775e0d9d2ac07
Fix leak on GSS module symbol resolution error

If krb5int_get_plugin_func fails, errinfo may contain an allocated
error message.  Free it on error when loading GSS modules.

[ghudson@mit.edu: also fix GSS_ADD_DYNAMIC_METHOD; clarify commit
message]

ticket: 7966 (new)
target_version: 1.12.2
tags: pullup
src/lib/gssapi/mechglue/g_initialize.c