Skip to content
Snippets Groups Projects
Commit 9949d4ee authored by Peter Hutterer's avatar Peter Hutterer
Browse files

Fix libinput_device_group_find_group() to return NULL on failure


struct list isn't a null-terminated list, list_for_each() causes 'g' to be set
to the list head at the end of the loop. Returning that as group caused random
memory to be overwritten.

Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 38f20850
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment