mirror of
https://github.com/holub/mame
synced 2025-05-22 05:38:52 +03:00
SDL: fix Fortify-reported stack smash [Belegdol]
This commit is contained in:
parent
14c6f9caf4
commit
3c69869db3
@ -620,7 +620,7 @@ static void check_osd_inputs(running_machine *machine)
|
||||
|
||||
static void extract_window_config(running_machine *machine, int index, sdl_window_config *conf)
|
||||
{
|
||||
char buf[10];
|
||||
char buf[20];
|
||||
|
||||
sprintf(buf,SDLOPTION_RESOLUTION("%d"), index);
|
||||
// per-window options: extract the data
|
||||
|
Loading…
Reference in New Issue
Block a user