frontend: Fix buffer overrun
authorPaul Cercueil <paul@crapouillou.net>
Sun, 19 Nov 2023 11:54:22 +0000 (12:54 +0100)
committernotaz <notasas@gmail.com>
Mon, 20 Nov 2023 00:50:30 +0000 (02:50 +0200)
commit5338a93079458c4437138830ef711f61c2feabe6
treef27d25b0a62b1e973315853f37a68ccf86ee91d3
parent36c76c861a26d2d2ce6118df1b20a389b8f3afb1
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