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

Skip to content
Commit ab049575 authored by Krishna Srinivas's avatar Krishna Srinivas Committed by Harsh Sahu
Browse files

msm: mdss: Check for buffer boundary condition in panel_debug_reg_write



- Before reading from new offset in a buffer, check for out
of bounds condition.
- Avoid using '%n' specifier.
- Use kstrtouint() instead of single variable sscanf
as per coding guidelines.

Change-Id: I10ea6f2b22d554d02f302f5700f6674d08e4777d
Signed-off-by: default avatarKrishna Srinivas <krisrini@codeaurora.org>
Signed-off-by: default avatarHarsh Sahu <hsahu@codeaurora.org>
parent b11c90da
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