diff options
author | Charles Han <hanchunchao@inspur.com> | 2024-11-15 14:26:21 +0800 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2025-02-03 22:48:54 +0100 |
commit | 9b8e2220d3a052a690b1d1b23019673e612494c5 (patch) | |
tree | 3515528b514815f257affd675c7b2cba01acbc6b /scripts/gdb/linux/rbtree.py | |
parent | 45ab5166a82d038c898985b0ad43ead69c1f9573 (diff) |
HID: multitouch: Add NULL check in mt_input_configured
devm_kasprintf() can return a NULL pointer on failure,but this
returned value in mt_input_configured() is not checked.
Add NULL check in mt_input_configured(), to handle kernel NULL
pointer dereference error.
Fixes: 479439463529 ("HID: multitouch: Correct devm device reference for hidinput input_dev name")
Signed-off-by: Charles Han <hanchunchao@inspur.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'scripts/gdb/linux/rbtree.py')
0 files changed, 0 insertions, 0 deletions