Skip Menu |

Subject: git commit

Fix gss-krb5 handling of high sequence numbers

Commits abcfdaff756631d73f49103f679cafa7bc45f14e and
41ddaaeb286e8bb1bba64fb557ba0e4cff9b404d incorrectly changed the
interpretation of authenticator sequence numbers in the range
2^31..2^32-1, mapping them to sign-extended 64-bit values. The major
Kerberos implementations do not generate sequence numbers this large,
so the changed went unnoticed. Prevent unwanted sign extension by
casting sequence numbers retrieved from auth contexts to uint32_t
before assigning them to uint64_t fields. Reported by Jake Scott.
Author: Greg Hudson <>
Commit: dac8de0b26b9b67c1b03067c1ec90b81114ff370
Branch: master
src/lib/gssapi/krb5/accept_sec_context.c | 4 ++--
src/lib/gssapi/krb5/init_sec_context.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)