[krbdev.mit.edu #9036] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Wed Nov 10 15:59:00 EST 2021


Wed Nov 10 15:59:00 2021: Request 9036 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=9036 >



Support larger RADIUS attributes in libkrad

In kr_attrset_decode(), explicitly treat the length byte as unsigned.
Otherwise attributes longer than 125 characters will be rejected with
EBADMSG.

Add a 253-character-long NAS-Identifier attribute to the tests to make
sure that attributes with the maximal number of characters are working
as expected.

[ghudson at mit.edu: used uint8_t cast per current practices; edited
commit message]

https://github.com/krb5/krb5/commit/f35077bfc570205092eca2a9d44e50ce265622f4
Author: Sumit Bose <sbose at redhat.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: f35077bfc570205092eca2a9d44e50ce265622f4
Branch: master
 src/lib/krad/attrset.c  |    2 +-
 src/lib/krad/t_packet.c |   13 +++++++++++++
 2 files changed, 14 insertions(+), 1 deletions(-)



More information about the krb5-bugs mailing list