mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-13 19:13:44 +00:00
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:
@@ -200,7 +200,7 @@ typedef struct {
|
|||||||
} jewel_tag_blocks;
|
} jewel_tag_blocks;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint8_t abtData[112];
|
uint8_t abtData[120];
|
||||||
} jewel_tag_data;
|
} jewel_tag_data;
|
||||||
|
|
||||||
typedef union {
|
typedef union {
|
||||||
|
|||||||
Reference in New Issue
Block a user