-
Notifications
You must be signed in to change notification settings - Fork 364
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix gss-krb5 handling of high sequence numbers
Commits abcfdaf and 41ddaae 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. ticket: 8994 (new)
- Loading branch information
1 parent
ae40b2e
commit dac8de0
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters