diff options
| author | Krishna Srinivas <krisrini@codeaurora.org> | 2016-06-21 17:05:37 -0700 |
|---|---|---|
| committer | Harsh Sahu <hsahu@codeaurora.org> | 2016-10-21 18:51:26 -0700 |
| commit | ab0495758864f78a01957ad18d7f036236f4b0d1 (patch) | |
| tree | afa8b0938409cbfb0e45c80cdcefcca0b9193d14 /scripts/gcc-wrapper.py | |
| parent | b11c90dac54ac6dd0e5a401f2ec10c5e12233c8a (diff) | |
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: Krishna Srinivas <krisrini@codeaurora.org>
Signed-off-by: Harsh Sahu <hsahu@codeaurora.org>
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions
