Re: [PATCH 7/8] reconfiguration leaks: SSL ex_data

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 25 Apr 2014 21:02:20 +1200

On 25/04/2014 12:58 p.m., Alex Rousskov wrote:
> Do not leak ex_data for SSL state that survived reconfigure.
>
> SSL_get_ex_new_index() allocates a new index on every call, even if its
> parameters remain unchanged. It should be called once per process lifetime.
>
> Besides leaking, this 12 year-old(!) bug could probably make some SSL
> code misbehave during reconfigure because reconfigure would change the
> supposedly constant ex_data indexes.
>
> Alex.
>

+1.

Amos
Received on Fri Apr 25 2014 - 09:02:28 MDT

This archive was generated by hypermail 2.2.0 : Fri Apr 25 2014 - 12:00:16 MDT