Bad talloc magic value inside tls.c:sess_free_vps

Arran Cudbard-Bell a.cudbardb at freeradius.org
Wed Jun 25 13:12:51 CEST 2014


> 
>  It's sad.
> 
>> Given that sess_free_vps() is called by OpenSSL when the session goes
>> away, I guess we don't need to parent the cached VPs to anything; ditto
>> the cached certs?
> 
>  It would be nice to use talloc...
> 
>> Certainly don't want to parent the vps/certs to handler or
>> tls_session_t; those have shorter lifetimes than SSL_SESSION* objects.
> 
>  Yes.  I've just used a NULL ctx.

Phil's proposed patch would still be useful if he has time :)

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/20140625/7972c50e/attachment.pgp>


More information about the Freeradius-Devel mailing list