Skip to content
Snippets Groups Projects
Commit 86d14802 authored by Kees Cook's avatar Kees Cook Committed by Vineeta Srivastava
Browse files

HID: check for NULL field when setting values


commit be67b68d upstream.

Defensively check that the field to be worked on is not NULL.

Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit e630cffa)

Change-Id: I8f31887b949739913edf575f2c24d605e4a89076
parent cea3bd5b
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment