Possible bug in unlang?

Alan DeKok aland at deployingradius.com
Tue Jul 29 10:12:03 CEST 2008


Phil Mayers wrote:
> We've recently moved our servers to FreeRadius 2, and we've been having
> reports of some problems with our wireless service.
...
> ...specifically, it seems that the xlat of this string is treating
> embedded "\" as escape characters.

  That needs to be fixed.  I'll take a look next week, as I'm away at a
conference right now.

> I've solved that problem by removing the "update outer.reply", which
> leads me to a 2nd question - given that the "eap" module does this
> anyway (and since it uses a dumb "memcpy", correctly) why is that unlang
> statement there in the sample configs? Is it necessary?

  No.

> One final thing; can I suggest the attached patch (though it should
> probably escape the data, since it comes from the user)

  Sure.  Send it via git-format-patch, and it can be committed with your
name on it.

  Alan DeKok.



More information about the Freeradius-Users mailing list