Better handle a "known" attribute with invalid length
authorAlan T. DeKok <aland@freeradius.org>
Mon, 2 Aug 2010 13:15:22 +0000 (15:15 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 2 Aug 2010 13:28:13 +0000 (15:28 +0200)
commitaec08bce7f48a489bbd487dec1c33928220d729a
treec4a09eecc8e7acab791ea38063d34d4c6e542e95
parented564b8ffad5c55a480c70b250caa95ae7e6d0a4
Better handle a "known" attribute with invalid length

If we receive an "integer" attribute with length "10", don't
leave the name as "Foo-Bar".  Instead, make it clear that the
attribute is unknown, and print it as "Attr-%d"
src/include/libradius.h
src/lib/radius.c
src/lib/valuepair.c