Merge pull request #2924 from 0x6r1an0y/master
Some checks are pending
CodeQL / Analyze (push) Waiting to run
MacOS Build and Test / macos-make (push) Waiting to run
MacOS Build and Test / macos-make-btaddon (push) Waiting to run
MacOS Build and Test / macos-cmake (push) Waiting to run
Ubuntu Build and Test / ubuntu-make (push) Waiting to run
Ubuntu Build and Test / ubuntu-make-btaddon (push) Waiting to run
Ubuntu Build and Test / ubuntu-cmake (push) Waiting to run
Windows Build and Test / proxspace (push) Waiting to run
Windows Build and Test / wsl (push) Waiting to run

Fix: Follow-up fix for PR #2923 (issue #2922)
This commit is contained in:
Iceman 2025-07-03 22:24:53 +02:00 committed by GitHub
commit 875ceab8a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3025,6 +3025,7 @@ void MifareCIdent(bool is_mfc, uint8_t keytype, uint8_t *key) {
// Use special magic detection function that always attempts RATS regardless of SAK // Use special magic detection function that always attempts RATS regardless of SAK
res = iso14443a_select_card_for_magic(uid, card, &cuid, true, 0); res = iso14443a_select_card_for_magic(uid, card, &cuid, true, 0);
if (res) { if (res) {
mf_reset_card();
if (cuid == 0xAA55C396) { if (cuid == 0xAA55C396) {
flag |= MAGIC_FLAG_GEN_UNFUSED; flag |= MAGIC_FLAG_GEN_UNFUSED;
} }