mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
fix buffer overflow
This commit is contained in:
parent
093c1c5a12
commit
b9036e26a7
@ -857,7 +857,7 @@ static void *udev_input_init(const char *joypad_driver)
|
||||
goto error;
|
||||
|
||||
video_context_driver_get_ident(&ctx_ident);
|
||||
udev->xkb_handling = string_is_equal_fast(ctx_ident.ident, "kms", 4);
|
||||
udev->xkb_handling = string_is_equal(ctx_ident.ident, "kms");
|
||||
#endif
|
||||
|
||||
fd = epoll_create(32);
|
||||
|
Loading…
x
Reference in New Issue
Block a user