mirror of
https://github.com/nfc-tools/libnfc.git
synced 2025-12-23 18:50:05 +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:
parent
2d584baa9b
commit
766ed55c79
@ -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…
x
Reference in New Issue
Block a user