Menu

#31 linux: result of sdp_connect() not checked for null

closed-duplicate
nobody
None
5
2010-10-26
2010-10-24
No

On linux if bluetoothd is stopped, sdp_connect() returns NULL and error "Connection refused" .
Passing the returned NULL to sdp_record_register() causes segfault.

Discussion

  • leniviytorrent

    leniviytorrent - 2010-10-26
    • status: open --> closed-duplicate
     

Log in to post a comment.