X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/02d352fea75385d80b49a7ab8703692ae307f073..c309eca94aa9ed5030d38f01250af863ea2a3c8c:/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