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

Commit aef5d507 authored by Taniya Das's avatar Taniya Das
Browse files

clk: osm: Check for valid acd offset for input from debugfs



The user supplied acd offset is not verified to be within the acd register
range which could lead to out-of-bounds read/write. Fix the same by
checking the input and also make sure the acd base is present before the
read/write.

Change-Id: I9c0d9049d273633f6ef99593b1b45d98cc7c3827
Signed-off-by: default avatarTaniya Das <tdas@codeaurora.org>
parent c1a5075d
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