mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-03 18:21:23 +00:00
HID: hid-roccat-koneplus: potential NULL dereference
kmalloc() may fail, if so return -ENOMEM. Also koneplus_init_koneplus_device_struct() should check return code of koneplus_get_startup_profile() and propagate its return code. Signed-off-by: Vasiliy Kulikov <segoon@openwall.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
581548db3b
commit
dacfecdbf3
1 changed files with 4 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue