Fix potential memory leaks on error paths identified by Copilot SSL_CTX_add0_chain_cert only takes ownership on success so certs needs to be freed on the failure path. If realloc() fails, the original p_data pointer is lost
Fix potential memory leaks on error paths identified by Copilot
SSL_CTX_add0_chain_cert only takes ownership on success so certs needs to be freed on the failure path.
If realloc() fails, the original p_data pointer is lost
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号