]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix decoding of mkey kvno in mkey_aux tl-data
authorGreg Hudson <ghudson@mit.edu>
Sun, 27 Oct 2013 00:17:10 +0000 (20:17 -0400)
committerTom Yu <tlyu@mit.edu>
Wed, 30 Oct 2013 21:33:38 +0000 (17:33 -0400)
commitcd9c927e81f290d7099e027eb4b2b2866fcbe185
tree4f005476ae635d88ff26c0e2948fcc7dad9d3faa
parent4abb885838676107ef5dd86c283c04ba5a1351d0
Fix decoding of mkey kvno in mkey_aux tl-data

krb5_dbe_lookup_mkey_aux was decoding a 16-bit value directly into an
int, resulting in the wrong value on big-endian platforms.  The
consequences are mostly invisible because we ignore this field and try
all mkey_aux nodes in krb5_def_fetch_mkey_list.

(cherry picked from commit 64ec2941af1561ef06e7e885b2ffb65a675516ce)

ticket: 7746 (new)
version_fixed: 1.11.4
status: resolved
src/lib/kdb/kdb5.c