Diff between 7c72155b81e0bd150b68518827084bfad0c652d7 and acd92061fbf348200762b9a032f9fc580428b95e
Changed Files
| File | Additions | Deletions | Status |
| tools/parser/obex.c | +3 | -0 | modified |
Full Patch
diff --git a/tools/parser/obex.c b/tools/parser/obex.c
index 0a73a79..8cbe3b0 100644
--- a/tools/parser/obex.c
+++ b/tools/parser/obex.c
@@ -269,6 +269,9 @@ void obex_dump(int level, struct frame *frm)
set_status(frm->handle, frm->dlci, status);
+ if (frm->len == 0)
+ break;
+
switch (opcode & 0x7f) {
case 0x00: /* Connect */
version = get_u8(frm);