Commit 766ed55c authored by Philippe Teuwen's avatar Philippe Teuwen

nfc-jewel: fix out-of-bounds array access

Defect(s) Reported-by: Coverity Scan
** CID 1169884:  Out-of-bounds read  (OVERRUN)
/utils/nfc-jewel.c: 186 in write_card()
parent 2d584baa
......@@ -200,7 +200,7 @@ typedef struct {
} jewel_tag_blocks;
typedef struct {
uint8_t abtData[112];
uint8_t abtData[120];
} jewel_tag_data;
typedef union {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment