Export to GitHub

btstack - issue #398

socket_connection_send_packet called with NULL in the daemon


Posted on Jun 15, 2014 by Swift Dog

In the daemon's handle_sdp_client_query_result callback, the calls to socket_connection_send_packet are done with a NULL connection, which will crash the daemon.

What version of the product are you using? On what operating system? Present in the latest r2640.

Comment #1

Posted on Jun 16, 2014 by Swift Ox

I've changed the code to store the connection in a global of daemon. not pretty, but at least it works for a single parallel SDP query now.

Status: Fixed

Labels:
Type-Defect Priority-High