Skip to content
Commit bce1a784 authored by Pan Bian's avatar Pan Bian Committed by Dmitry Torokhov
Browse files

Input: synaptics-rmi4 - fix possible double free



The RMI4 function structure has been released in rmi_register_function
if error occurs. However, it will be released again in the function
rmi_create_function, which may result in a double-free bug.

Signed-off-by: default avatarPan Bian <bianpan2016@163.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent f06eba72
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment