mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-02-16 02:20:42 +00:00
Small buffer size fix
This commit is contained in:
@@ -636,7 +636,7 @@ void evdev_map(char* device) {
|
||||
|
||||
struct mapping map;
|
||||
strncpy(map.name, libevdev_get_name(evdev), sizeof(map.name));
|
||||
strncpy(map.guid, str_guid, sizeof(map.name));
|
||||
strncpy(map.guid, str_guid, sizeof(map.guid));
|
||||
|
||||
libevdev_free(evdev);
|
||||
close(fd);
|
||||
|
||||
Reference in New Issue
Block a user