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()
This commit is contained in:
parent
2d584baa9b
commit
766ed55c79
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ typedef struct {
|
|||
} jewel_tag_blocks;
|
||||
|
||||
typedef struct {
|
||||
uint8_t abtData[112];
|
||||
uint8_t abtData[120];
|
||||
} jewel_tag_data;
|
||||
|
||||
typedef union {
|
||||
|
|
Loading…
Reference in a new issue