Move CSN space to revent overflow (#2232)

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
Eric Betts 2023-02-08 10:06:42 -08:00 committed by GitHub
parent db1a8f8014
commit 8f2f2d810a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ void picopass_scene_read_card_success_on_enter(void* context) {
uint8_t csn[PICOPASS_BLOCK_LEN];
memcpy(csn, &AA1->data[PICOPASS_CSN_BLOCK_INDEX], PICOPASS_BLOCK_LEN);
for(uint8_t i = 0; i < PICOPASS_BLOCK_LEN; i++) {
furi_string_cat_printf(csn_str, " %02X", csn[i]);
furi_string_cat_printf(csn_str, "%02X ", csn[i]);
}
// Neither of these are valid. Indicates the block was all 0x00 or all 0xff