talloc & threads in rlm_eap

Arran Cudbard-Bell a.cudbardb at freeradius.org
Mon Jun 23 23:37:06 CEST 2014


On 23 Jun 2014, at 22:34, Phil Mayers <p.mayers at imperial.ac.uk> wrote:

> On 23/06/2014 22:26, Alan DeKok wrote:
> 
>>   There are none.  The main thread ignores the request for most values
>> of request->child_state.  The child updates request->child_state
>> carefully, so that the main thread doesn't blow up.
> 
> Ah, gotcha - it made sense there had to be something, it can't just be happy coincidence it's worked all these years ;o)

Note that this wasn't the original bug, I only added VERIFY_REQUEST to process.c after your initial report.

It real issue was not breaking up the ctx trees correctly and not using the NULL ctx.

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20140623/4c4ab3aa/attachment-0001.pgp>


More information about the Freeradius-Devel mailing list