Fast session resumption segfault
p.mayers at imperial.ac.uk
Wed Oct 19 11:10:21 CEST 2011
On 10/19/2011 09:47 AM, Alan DeKok wrote:
> $ git pull
Awesome, that's working now.
> The issue is that the cached VPs were being free'd too early. They
> should be freed only when SSL does the "free session" callback. The bug
> was that they were being free'd when the EAP "success" was being sent back.
> With session caching, those VPs should stick around until OpenSSL
> thinks that the session is free'd. There's a callback just for that, too.
> The code is fixed in "master", and a related memory leak is closed in
> the v2.1.x branch.
Ah ha - presumably that was why my 2.1.12 install ballooned it's RAM; it
was nothing to do with 2.1.12, but the fact I'd enabled session resumption.
I guess everyone out there is restarting their servers nightly!
More information about the Freeradius-Devel