Diff between f3ddc7444285a0144b8265771ea26198191948ec and 053a1d4bdb6a30f87d284e90020c20ef1ac8f8de

Changed Files

File Additions Deletions Status
monitor/sdp.c +1 -1 modified

Full Patch

diff --git a/monitor/sdp.c b/monitor/sdp.c
index 10bc0a1..daf9a9d 100644
--- a/monitor/sdp.c
+++ b/monitor/sdp.c
@@ -494,7 +494,7 @@ static void handle_continuation(struct tid_data *tid, bool nested,
 		cont_list[n].data = NULL;
 		cont_list[n].size = 0;
 	} else
-		memcpy(cont_list[i].cont, data + bytes, data[bytes] + 1);
+		memcpy(cont_list[n].cont, data + bytes, data[bytes] + 1);
 }
 
 static uint16_t common_rsp(const struct l2cap_frame *frame,