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

Skip to content
Commit 01cbd318 authored by Himanshu Aggarwal's avatar Himanshu Aggarwal
Browse files

input: synaptics_fw_update: fix insufficient bounds checking



Possible values of config_area are between 0 and 3. The patch
adds bounds checking in fwu_sysfs_config_area_store() function.
Also use kstrtou16() for parsing the config_area.

Change-Id: Ia0b58f1b5a359c67f420012876431dac920ecfbd
Signed-off-by: default avatarHimanshu Aggarwal <haggarwa@codeaurora.org>
parent 6e47bd57
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