Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit dacfecdb authored by Vasiliy Kulikov's avatar Vasiliy Kulikov Committed by Jiri Kosina
Browse files

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: default avatarVasiliy Kulikov <segoon@openwall.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 581548db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment