]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/iclass.c
ADD: preparation for @marshmellow42 "hf search"
[proxmark3-svn] / armsrc / iclass.c
index e5bd4f42852ef1682962a48aedccb6be08cd7417..4d2f924c5f41e65e8e25f1971a41013e186e297e 100644 (file)
@@ -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
Impressum, Datenschutz