From 216ad5740b9d8319a7d43823feb590d657151f60 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Thu, 20 Jul 2023 21:12:21 +0200 Subject: [PATCH] fix `lf hitag eload` segmentation fault --- include/pm3_cmd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pm3_cmd.h b/include/pm3_cmd.h index 0983ee2e1..13dca3b6c 100644 --- a/include/pm3_cmd.h +++ b/include/pm3_cmd.h @@ -271,7 +271,7 @@ typedef struct { typedef struct { uint8_t type; uint16_t len; - uint8_t *data; + uint8_t data[]; } PACKED lf_hitag_t; typedef struct {