[krbdev.mit.edu #9036] git commit

"Greg Hudson via RT" <[email protected]> Wed, 10 Nov 2021 15:59:00 -0500
Newsgroups gmane.comp.encryption.kerberos.bugs
Message-ID <[email protected]>
Wed Nov 10 15:59:00 2021: Request 9036 was acted upon.
 Transaction: Ticket created by [email protected]
       Queue: krb5
     Subject: git commit
       Owner: [email protected]
  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.

[[email protected]: used uint8_t cast per current practices; edited
commit message]

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