Revision: 766ed55c79e7
Author: Philippe Teuwen <
yob...@gmail.com>
Date: Fri Feb 7 22:09:34 2014 UTC
Log: 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()
http://code.google.com/p/libnfc/source/detail?r=766ed55c79e7
Modified:
/utils/jewel.h
=======================================
--- /utils/jewel.h Sun Feb 2 23:04:08 2014 UTC
+++ /utils/jewel.h Fri Feb 7 22:09:34 2014 UTC
@@ -200,7 +200,7 @@
} jewel_tag_blocks;
typedef struct {
- uint8_t abtData[112];
+ uint8_t abtData[120];
} jewel_tag_data;
typedef union {