Skip to content

Commit

Permalink
nfc-jewel: fix out-of-bounds array access
Browse files Browse the repository at this point in the history
Defect(s) Reported-by: Coverity Scan
** CID 1169884:  Out-of-bounds read  (OVERRUN)
/utils/nfc-jewel.c: 186 in write_card()
  • Loading branch information
doegox committed Feb 7, 2014
1 parent 2d584ba commit 766ed55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/jewel.h
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ typedef struct {
} jewel_tag_blocks;

typedef struct {
uint8_t abtData[112];
uint8_t abtData[120];
} jewel_tag_data;

typedef union {
Expand Down

0 comments on commit 766ed55

Please sign in to comment.