opengitway / btstack

Automatically exported from code.google.com/p/btstack
0 stars 0 forks source link

socket_connection_send_packet called with NULL in the daemon #398

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by kob...@mce-sys.com on 15 Jun 2014 at 6:52

GoogleCodeExporter commented 9 years ago
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.

Original comment by matthias.ringwald@gmail.com on 16 Jun 2014 at 9:51