diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2005-11-24 04:19:49 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2005-11-24 04:19:49 +0000 |
commit | 8db4e616c0107df21e3cacd981d073a64414de77 (patch) | |
tree | 0d70ff17e995e20e5fbbb577d3003d65809b1d11 | |
parent | 232851e1acd3dddc763f1661d67a3c0256363366 (diff) |
Fix service discovery deadlocks with Samsung D600 phones
-rw-r--r-- | src/sdp.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -3115,6 +3115,10 @@ int sdp_service_search_attr_req(sdp_session_t *session, const sdp_list_t *search status = -1; goto end; } + if (!recsize) { + sdp_record_free(rec); + break; + } scanned += recsize; pdata += recsize; |