From 92aa70ba9d719cf2593b5fdd92a1caa8d0791917 Mon Sep 17 00:00:00 2001 From: noproto Date: Tue, 22 Oct 2024 09:54:46 -0400 Subject: [PATCH] Larger data type for 4K support --- lib/nfc/protocols/mf_classic/mf_classic_poller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nfc/protocols/mf_classic/mf_classic_poller.c b/lib/nfc/protocols/mf_classic/mf_classic_poller.c index bc502534f..8d5865865 100644 --- a/lib/nfc/protocols/mf_classic/mf_classic_poller.c +++ b/lib/nfc/protocols/mf_classic/mf_classic_poller.c @@ -1780,7 +1780,7 @@ NfcCommand mf_classic_poller_handler_nested_log(MfClassicPoller* instance) { bool mf_classic_nested_is_target_key_found(MfClassicPoller* instance, bool is_dict_attack) { MfClassicPollerDictAttackContext* dict_attack_ctx = &instance->mode_ctx.dict_attack_ctx; bool is_weak = dict_attack_ctx->prng_type == MfClassicPrngTypeWeak; - uint8_t nested_target_key = dict_attack_ctx->nested_target_key; + uint16_t nested_target_key = dict_attack_ctx->nested_target_key; MfClassicKeyType target_key_type; uint8_t target_sector;