Treating octets as string

Alan DeKok aland at
Sun Jan 30 17:09:41 CET 2011

Brian Candler wrote:
> OK, I've had a go at a patch. You can find it at
> Aside: I guess you can't use this if you have an 'octets' value with an
> embedded null. If I set

  That's easy enough to fix, and the server already includes code to
handle non-printable characters in a string.

> Also, while doing this I also discovered a bug in the %{integer:...}
> expansion: it will cause freeradius to segfault if the vp is known in the
> dictionary but is not present in the request (radius_get_vp will return true
> but set vp to NULL).  The fix is also in that branch, but I'll post it here
> too:

  Whoops.  That needs fixing, yes.

  I've pushed fixes to the git repository.

  Alan DeKok.

More information about the Freeradius-Users mailing list