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

Skip to content
Commit 87cdfa9d authored by Guenter Roeck's avatar Guenter Roeck
Browse files

hwmon: (gl520sm) Fix overflows and crash seen when writing into limit attributes



Writes into limit attributes can overflow due to multplications and
additions with unbound input values. Writing into fan limit attributes
can result in a crash with a division by zero if very large values are
written and the fan divider is larger than 1.

Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent f80e868c
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