frontend: Fix buffer overrun
authorPaul Cercueil <paul@crapouillou.net>
Sun, 19 Nov 2023 11:54:22 +0000 (12:54 +0100)
committerPaul Cercueil <paul@crapouillou.net>
Sun, 19 Nov 2023 22:34:18 +0000 (23:34 +0100)
commitf5e8322e4a9bd5e5789fd81827552f2095725f59
tree5de8aca851e171ba3fa1b58db8a0fa0035c96ebc
parent1a970759e200130f3caa4f7365facfdb128fc546
frontend: Fix buffer overrun

The format passed to sscanf() requested a 256-chars string, but that's
excluding the terminating \0 character as the 257th character.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
frontend/menu.c