Skip to content

misc: ipts: Fix NULL pointer dereference in ipts_hid_release() - #2

Open
enomsg wants to merge 1 commit into
ipts-linux-org:masterfrom
enomsg:master
Open

misc: ipts: Fix NULL pointer dereference in ipts_hid_release()#2
enomsg wants to merge 1 commit into
ipts-linux-org:masterfrom
enomsg:master

Conversation

@enomsg

@enomsg enomsg commented Dec 30, 2016

Copy link
Copy Markdown
Contributor

If we failed to add a hid device (e.g. firmware failed to load),
ipts_hid_release() will still be called (by mei_cl_device_remove()) on
shutdown, which in turn will cause ipts->hid to be dereferenced.

Signed-off-by: Anton Vorontsov anton@enomsg.org

If we failed to add a hid device (e.g. firmware failed to load),
ipts_hid_release() will still be called (by mei_cl_device_remove()) on
shutdown, which in turn will cause ipts->hid to be dereferenced.

Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant