Libmemcached library support for Amazon ElastiCache Memcached Cluster for PHP. The client is available at https://github.com/awslabs/aws-elasticache-cluster-client-memcached-for-php.
Other
26
stars
24
forks
source link
TLS: Fix memory leak if memcached_create_and_set_ssl_context is call… #27
When using the client with a persistent list (as we support in https://github.com/awslabs/aws-elasticache-cluster-client-memcached-for-php), if createAndSetTLSContext is invoked with an existing memcached_st object already configured with a TLS context, the pointer to the previous TLS context would have been overwritten, causing a memory leakage. This issue has been resolved by freeing the existing context before establishing a new one.
When using the client with a persistent list (as we support in https://github.com/awslabs/aws-elasticache-cluster-client-memcached-for-php), if
createAndSetTLSContext
is invoked with an existingmemcached_st
object already configured with a TLS context, the pointer to the previous TLS context would have been overwritten, causing a memory leakage. This issue has been resolved by freeing the existing context before establishing a new one.