]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix memory leak in ssl/gadgets/mimicAuthorityKeyId() (#1651)
authorAlexey <bigalex934@gmail.com>
Mon, 29 Jan 2024 19:47:41 +0000 (19:47 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Mon, 29 Jan 2024 19:47:44 +0000 (19:47 +0000)
commit4ca3b58790deff003e223957f5375ddd236b1093
tree51f8d15da625d5b1ed0c26749abb511b328dfac7
parentb58181364a8fe1bdc0be705476bb9dfab2192979
Fix memory leak in ssl/gadgets/mimicAuthorityKeyId() (#1651)

An unnecessary std::unique_ptr::release() call prevented temporary
extOct string from being automatically deallocated. The leak usually
happened when SslBump mimicked certificates with an Authority Key
Identifier extension. The leak was added in 2016 commit 5f1318b.
src/ssl/gadgets.cc