TMPL_TYPE_LITERAL has non-zero bytes in its data union

Alan DeKok aland at deployingradius.com
Wed Jul 31 20:45:17 CEST 2019



> On Jul 31, 2019, at 2:37 PM, Geaaru <geaaru at gmail.com> wrote:
> 
> 
> (gdb) p *map
> $1 = {
>   lhs = 0x555555adfe00, 
>   rhs = 0x555555adffd0, 
>   op = T_OP_SET, 
>   ci = 0x5555557f2230, 
>   next = 0x555555ae01a0
> }

  Hmm.. and what's the output of this:

(gdb) p *map->lhs
(gdb) p *map->res

  That should give a bit more information.

> I'm sure that is a regression because the same code now is in production with 3.0.17.

  OK.

> # Cache for store authentication data
> cache cache_auth {
> ...
> }

  Yeah, nothing weird there.

> Could be related to setting of control:My-User when is not present?

  Maybe.  It's hard to say.

  Alan DeKok.




More information about the Freeradius-Devel mailing list