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:
Philippe Teuwen 2014-02-07 23:09:34 +01:00
parent 2d584baa9b
commit 766ed55c79

View file

@ -200,7 +200,7 @@ typedef struct {
} jewel_tag_blocks;
typedef struct {
uint8_t abtData[112];
uint8_t abtData[120];
} jewel_tag_data;
typedef union {