Weird issue - threads bottleneck in post-proxy section

Alan DeKok aland at deployingradius.com
Fri Mar 6 19:32:09 CET 2015


On Mar 6, 2015, at 11:10 AM, RESTOUX, Loïc <loic.restoux at capgemini.com> wrote:
> I feel suspicious with the functions condition_tokenize(), tmpl_afrom_str() and tmpl_alloc(). I think that the length used for tmpl_alloc() includes the quotes, and the value is stored directly in vpt->len.

  It shouldn’t be.  If you have “correct_escapes = yes”, then vpt->len is the length of the data in vpt->name.  If it’s not, there’s a problem.

> Unfortunatly, I don't dare to fix it myself, I'm pretty sure I'll break everything else. :)

  Even tracking down where the length goes wrong should be helpful.

  Alan DeKok.




More information about the Freeradius-Users mailing list