[krbdev.mit.edu #9146] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Tue Oct 22 14:44:30 EDT 2024


Tue Oct 22 14:44:30 2024: Request 9146 was acted upon.
 Transaction: Ticket created by ghudson at mit.edu
       Queue: krb5
     Subject: git commit
       Owner: ghudson at mit.edu
  Requestors: 
      Status: new
 Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9146 >



Allow null keyblocks in IOV checksum functions

Null keyblocks are allowed by the libk5crypto checksum functions when
the checksum type is not keyed.  However, krb5_c_make_checksum_iov()
and krb5_c_verify_checksum_iov() crash on null keyblock inputs because
they do not check before converting to krb5_key as their non-IOV
variants do.  Add the missing null checks.

https://github.com/krb5/krb5/commit/6217454323b39cedb1b03ac161ecb0ade3ad84e6
Author: Greg Hudson <ghudson at mit.edu>
Commit: 6217454323b39cedb1b03ac161ecb0ade3ad84e6
Branch: master
 src/lib/crypto/krb/make_checksum_iov.c   | 10 ++++++----
 src/lib/crypto/krb/verify_checksum_iov.c | 10 ++++++----
 2 files changed, 12 insertions(+), 8 deletions(-)



More information about the krb5-bugs mailing list