Merge pull request #9711 from ThePassionate/mbedtls-1021

net/mbedtls_net_connect: Preventing double close problem
This commit is contained in:
David Horstmann
2024-10-22 16:49:25 +00:00
committed by GitHub
2 changed files with 8 additions and 4 deletions
@@ -0,0 +1,4 @@
Bugfix
* Use 'mbedtls_net_close' instead of 'close' in 'mbedtls_net_bind'
and 'mbedtls_net_connect' to prevent possible double close fd
problems. Fixes #9711.