esp-idf/components/tcp_transport
Axel Lin aa333d4ab9 tcp_transport: Fix NULL pointer dereference if esp_transport_init returns NULL
Add missing NULL test for esp_transport_init() call.
Otherwise, it will hit NULL pointer dereference when assign t->_get_socket.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
2021-05-03 15:46:59 +08:00
..
include
private_include
test
CMakeLists.txt
Kconfig
component.mk
transport.c
transport_ssl.c
transport_utils.c
transport_ws.c