Strange packet causing radius to crash.

Alan DeKok aland at
Thu Feb 21 18:48:40 CET 2008

Matthew Schumacher wrote:
> It doesn't crash when I omit the patch.  My C is very weak so I suspect
> I did something wrong,

  Yup.  I don't see why you have to modify anything in src/lib/radius.c,
though.  It's completely unnecessary.

 but I really need this feature, so muddled though
> it anyway.  While trying to troubleshoot I was able to capture the
> packet that crashes it.  There are more packets like it from the same
> host that show the same VSA too short that also crash it.

  If wireshark says that the VSA is too short, then it isn't parsing the
USR VSA's properly.  The VSA is fine.

  Alan DeKok.

More information about the Freeradius-Devel mailing list