Diff between 1f3d21d46f62a3359d6280ba952750cb71ba49dc and 781f3cde673053f1b512680eb4c97d7ce86427b1
Changed Files
| File | Additions | Deletions | Status |
| monitor/packet.c | +1 | -1 | modified |
Full Patch
diff --git a/monitor/packet.c b/monitor/packet.c
index 19139f8..58a5a97 100644
--- a/monitor/packet.c
+++ b/monitor/packet.c
@@ -4266,7 +4266,7 @@ static void cmd_complete_evt(const void *data, uint8_t size)
print_indent(6, opcode_color, "", opcode_str, COLOR_OFF,
" (0x%2.2x|0x%4.4x) ncmd %d", ogf, ocf, evt->ncmd);
- if (!opcode_data->rsp_func) {
+ if (!opcode_data || !opcode_data->rsp_func) {
packet_hexdump(data + 3, size - 3);
return;
}