Enforce numerical limits on "extended" attributes.
authorAlan T. DeKok <aland@freeradius.org>
Mon, 14 Mar 2011 10:56:32 +0000 (11:56 +0100)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 14 Mar 2011 10:56:32 +0000 (11:56 +0100)
commit90ef1ab273bba4fb29501b1b8582eade8072e313
tree707e5ed47e5edaeed8960a35f1622904ea704fb8
parent38715dfceba904c0569d1800186e0c967c188c8a
Enforce numerical limits on "extended" attributes.

They can only be in the range 241..255.  This ensures that the
internal code which packs the attribute number into the high
octet of the vendor ID will work.  If it allowed "extended"
attrs to be 1..30 (or so), other things might potentially
screw up internally
src/lib/dict.c