[krbdev.mit.edu #8914] git commit

Greg Hudson via RT rt at krbdev.mit.edu
Tue Jul 7 01:04:07 EDT 2020


<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=8914 >


Avoid backward seeks when reading keytab files

When considering or bypassing an empty record in a keytab file, check
for a lenth of INT32_MIN.  Otherwise we could perform a backwards
seek, as the inverse of INT32_MIN is still negative.

[ghudson at mit.edu: adjusted comments; wrote commit message]

https://github.com/krb5/krb5/commit/99f7ad2831a01f264c07eed42a0a3a9336b86184
Author: Joshua Neuheisel <jneuheisel at stsci.edu>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 99f7ad2831a01f264c07eed42a0a3a9336b86184
Branch: master
 src/lib/krb5/keytab/kt_file.c |    4 ++++
 src/tests/t_keytab.py         |    9 ++++++++-
 2 files changed, 12 insertions(+), 1 deletions(-)



More information about the krb5-bugs mailing list