Diff between 70692b7e936cb430410a0fff67407e3a13ff613d and 01146fff6e66742b5e256cf7cbae3e0d7f30c530
Changed Files
| File | Additions | Deletions | Status |
| tools/parser/hci.c | +3 | -0 | modified |
Full Patch
diff --git a/tools/parser/hci.c b/tools/parser/hci.c
index 8c7bd25..4e6c360 100644
--- a/tools/parser/hci.c
+++ b/tools/parser/hci.c
@@ -4107,6 +4107,9 @@ void hci_dump(int level, struct frame *frm)
frm->ptr++; frm->len--;
+ if (frm->len == 0)
+ return;
+
switch (type) {
case HCI_COMMAND_PKT:
command_dump(level, frm);