X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/49dc1d0a9eafdb1e369ead88c3c8882bc6959a17..5eae566a28d4494e70a9e3812e269dbd87d9bc07:/armsrc/iclass.c diff --git a/armsrc/iclass.c b/armsrc/iclass.c index e5bd4f42..4d2f924c 100644 --- a/armsrc/iclass.c +++ b/armsrc/iclass.c @@ -1676,7 +1676,8 @@ uint8_t handshakeIclassTag(uint8_t *card_data) // Reader iClass Anticollission void ReaderIClass(uint8_t arg0) { - uint8_t card_data[6 * 8]={0xFF}; + uint8_t card_data[6 * 8]={0}; + memset(card_data, 0xFF, sizeof(card_data)); uint8_t last_csn[8]={0}; //Read conf block CRC(0x01) => 0xfa 0x22