[krbdev.mit.edu #8320] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Thu Dec 10 18:14:40 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/0d8e70728f7bc74554414fef9a1fcaca672a4d5b
Author: Tomas Kuthan <tkuthan at gmail.com>
Committer: Tom Yu <tlyu at mit.edu>
Commit: 0d8e70728f7bc74554414fef9a1fcaca672a4d5b
Branch: krb5-1.12
 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