From: martin.holst@gmail.com Date: Sat, 11 May 2013 12:13:17 +0000 (+0000) Subject: Fixed buffer corruption in iso1443a_select_card, affecting several operations, e... X-Git-Tag: v1.0.0~100 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/ea73261dc693f8504ef76653fc584d6c5ce2c76c Fixed buffer corruption in iso1443a_select_card, affecting several operations, e.g. hf mf mifare and probably a few more --- diff --git a/armsrc/iso14443a.c b/armsrc/iso14443a.c index d174a31e..bbe748b0 100644 --- a/armsrc/iso14443a.c +++ b/armsrc/iso14443a.c @@ -1625,7 +1625,7 @@ int iso14443a_select_card(byte_t* uid_ptr, iso14a_card_select_t* p_hi14a_card, u // clear uid if (uid_ptr) { - memset(uid_ptr,0,10); + memset(uid_ptr,0,8); } // OK we will select at least at cascade 1, lets see if first byte of UID was 0x88 in