mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-10-31 05:12:33 +01:00 
			
		
		
		
	Fix buffer overrun in lcd_keyframes
This would often cause the keyboard to crash when restarting the computer.
This commit is contained in:
		
							parent
							
								
									41a46c7c8e
								
							
						
					
					
						commit
						5c251b5575
					
				| @ -125,8 +125,8 @@ static void get_led_state_string(char* output, visualizer_state_t* state) { | ||||
|        pos += 5; | ||||
|     } | ||||
|     if (state->status.leds & (1u << USB_LED_KANA)) { | ||||
|        memcpy(output + pos, "KANA ", 5); | ||||
|        pos += 5; | ||||
|        memcpy(output + pos, "KANA", 4); | ||||
|        pos += 4; | ||||
|     } | ||||
|     output[pos] = 0; | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Fred Sundvik
						Fred Sundvik