Move CSN space to revent overflow (#2232)
Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
		
							parent
							
								
									db1a8f8014
								
							
						
					
					
						commit
						8f2f2d810a
					
				| @ -33,7 +33,7 @@ void picopass_scene_read_card_success_on_enter(void* context) { | |||||||
|     uint8_t csn[PICOPASS_BLOCK_LEN]; |     uint8_t csn[PICOPASS_BLOCK_LEN]; | ||||||
|     memcpy(csn, &AA1->data[PICOPASS_CSN_BLOCK_INDEX], PICOPASS_BLOCK_LEN); |     memcpy(csn, &AA1->data[PICOPASS_CSN_BLOCK_INDEX], PICOPASS_BLOCK_LEN); | ||||||
|     for(uint8_t i = 0; i < PICOPASS_BLOCK_LEN; i++) { |     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
 |     // Neither of these are valid.  Indicates the block was all 0x00 or all 0xff
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Eric Betts
						Eric Betts