[krbdev.mit.edu #8289] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Wed Dec 2 14:58:13 EST 2015


Fix error mappings for IOV MIC mechglue funcs

The mechglue functions gss_get_mic_iov(), gss_get_mic_iov_length(),
and gss_verify_mic_iov() don't call map_error() to map
mechanism-specific error codes.  As a result, a subsequent call to
gss_display_status() fails with GSS_S_BAD_MECH, because no translation
for the error code is found in the error table.

This patch adds the missing map_error call.

[ghudson at mit.edu: correct a whitespace issue, edit commit message]

(cherry picked from commit 969c976ff021db7e409ce9a38d28316d9acfa2cc)

https://github.com/krb5/krb5/commit/7403bd7c97821fe47e5d5ca83d216748aaa03d7e
Author: Tomas Kuthan <tkuthan at gmail.com>
Committer: Tom Yu <tlyu at mit.edu>
Commit: 7403bd7c97821fe47e5d5ca83d216748aaa03d7e
Branch: krb5-1.13
 src/lib/gssapi/mechglue/g_unwrap_iov.c |    7 +++++--
 src/lib/gssapi/mechglue/g_wrap_iov.c   |   14 ++++++++++----
 2 files changed, 15 insertions(+), 6 deletions(-)



More information about the krb5-bugs mailing list