mirror of
https://github.com/libretro/RetroArch
synced 2025-04-02 16:20:39 +00:00
(driver.c) Fix invalid write
This commit is contained in:
parent
e872bf69be
commit
17c715748d
2
driver.c
2
driver.c
@ -219,7 +219,7 @@ const char* config_get_input_driver_options(void)
|
|||||||
input_options[offset] = '|';
|
input_options[offset] = '|';
|
||||||
offset += 1;
|
offset += 1;
|
||||||
}
|
}
|
||||||
input_options[input_options_len] = '\0';
|
input_options[input_options_len - 1] = '\0';
|
||||||
|
|
||||||
return input_options;
|
return input_options;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user