Fast session resumption segfault

Alan DeKok aland at deployingradius.com
Mon Oct 17 22:03:04 CEST 2011


Phil Mayers wrote:
> More info - todays HEAD dies with:
> 
> (14) peap : Success
> (14) peap : Adding cached attributes to the reply:
>     8:��9 <INVALID-TOKEN>
>      <INVALID-TOKEN>
> (14) eap : Freeing handler
> *** glibc detected *** /usr/local/sbin/radiusd: double free or

  Hmm... my quick checks a while ago showed that the same pointer was
being passed into the cache as was coming out.  So the corrupt data
above really seems to indicate that the memory was free'd and re-used.

  The sad thing is that I run it under "valgrind", and all I get is the
SEGV.  I don't see a double free. :(

> p.s. I like the new quieter build!

  Yeah, much better.

  Alan DeKok.



More information about the Freeradius-Devel mailing list