route_connectivity: fix UAF in conn_probe_finish — break ctx->nq on cancel_node, always free ctx in finish

This commit is contained in:
Evgeny committed 2026-07-02 15:02:11 +03:00
1 parent 993c265125
commit aa73e9d8cb
3 files changed
+36 -25

No files matched your search

+1
View File
@@ -91,6 +91,7 @@ static void client_write_callback(socket_t fd, void* arg);
static void client_except_callback(socket_t fd, void* arg);
static void handle_client_data(struct control_server* server, struct control_client* client);
static void close_client(struct control_server* server, struct control_client* client);
static void control_client_idle_cb(void* arg);
static void send_conn_list(struct control_server* server, struct control_client* client, uint8_t seq_id);
static void send_socket_list(struct control_server* server, struct control_client* client, uint8_t seq_id);