Fast session resumption segfault (was: Testing 3.0/master)

Phil Mayers p.mayers at
Mon Oct 17 20:58:08 CEST 2011

On 10/09/2011 11:20 AM, Phil Mayers wrote:
> So, I've just compiled up the current "master", and a few things stand
> out. Using my existing 2.1.12 config:
> 1. EAP-TTLS/MSCHAP doesn't seem to work any more; the MS-CHAP
> challenge/response are wrong. PEAP works fine. Haven't looked into this
> yet.
> 2. rlm_eap_tls now mandates "private_key_password" even if the key is
> not encrypted on disk. You can specify anything - but you must specify
> it. Behaviour change, but not particularly onerous.
> 3. Fast Session resumption seems to give a segfault - request_finish
> calls pairfree on process.c:1085 and the value seems to be corrupt. The
> backtrace is a bit useless, since most of the values are optimised out
> (grr gcc) but I will try to get more info.

More info - todays HEAD dies with:

(14) peap : Success
(14) peap : Adding cached attributes to the reply:
(14) eap : Freeing handler
*** glibc detected *** /usr/local/sbin/radiusd: double free or 
corruption (out): 0x000000000086f670 ***
======= Backtrace: =========

...when doing an SSL session resume. No more time to look today, will 
investigate tomorrow.

p.s. I like the new quieter build!

More information about the Freeradius-Devel mailing list