[squid-dev] [PATCH] Segfault when freeing https_port clientca on reconfigure or exit

Alex Rousskov rousskov at measurement-factory.com
Fri Jun 19 17:04:21 UTC 2015


On 06/18/2015 07:25 PM, Amos Jeffries wrote:
> On 12/06/2015 4:56 p.m., Alex Rousskov wrote:
>> Fixed segmentation fault when freeing https_port clientca on reconfigure
>> or exit.
>>
>> AnyP::PortCfg::clientCA list was double-freed, because the SSL context
>> takes ownership of the STACK_OF(X509_NAME) supplied via
>> SSL_CTX_set_client_CA_list(), but Squid was not aware of that. Squid now
>> supplies a clone of clientCA.
> 
> +1. Please apply.


Committed to trunk (r14118).


Thank you,

Alex.



More information about the squid-dev mailing list