Message ID | 20220629051902.23452-1-wangyouwan@uniontech.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | obexd: fix crashed after cancel the on-going transfer | expand |
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | success | Success |
tedd_an/checkpatch | success | Checkpatch PASS |
tedd_an/gitlint | success | Gitlint PASS |
tedd_an/setupell | success | Setup ELL PASS |
tedd_an/buildprep | success | Build Prep PASS |
tedd_an/build | success | Build Configuration PASS |
tedd_an/makecheck | success | Make Check PASS |
tedd_an/makecheckvalgrind | success | Make Check PASS |
tedd_an/makedistcheck | success | Make Distcheck PASS |
tedd_an/build_extell | success | Build External ELL PASS |
tedd_an/build_extell_make | success | Build Make with External ELL PASS |
This is automated email and please do not reply to this email! Dear submitter, Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series: PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=654862 ---Test result--- Test Summary: CheckPatch PASS 1.50 seconds GitLint PASS 1.04 seconds Prep - Setup ELL PASS 44.29 seconds Build - Prep PASS 0.68 seconds Build - Configure PASS 8.67 seconds Build - Make PASS 1455.08 seconds Make Check PASS 12.42 seconds Make Check w/Valgrind PASS 448.35 seconds Make Distcheck PASS 243.59 seconds Build w/ext ELL - Configure PASS 8.71 seconds Build w/ext ELL - Make PASS 1467.38 seconds Incremental Build with patchesPASS 0.00 seconds --- Regards, Linux Bluetooth
diff --git a/gobex/gobex-transfer.c b/gobex/gobex-transfer.c index c94d018b2..03af4a14b 100644 --- a/gobex/gobex-transfer.c +++ b/gobex/gobex-transfer.c @@ -186,6 +186,9 @@ static void transfer_response(GObex *obex, GError *err, GObexPacket *rsp, gboolean rspcode, final; guint id; + if (!g_slist_find(transfers, transfer)) + return; + g_obex_debug(G_OBEX_DEBUG_TRANSFER, "transfer %u", transfer->id); id = transfer->req_id;