X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/49dc1d0a9eafdb1e369ead88c3c8882bc6959a17..1ec21089b2d363e2b5e9672d26350bdf0fd41c88:/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