diff options
author | Axel Lin <axel.lin@ingics.com> | 2019-02-19 18:00:00 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-02-19 15:26:01 +0000 |
commit | 7cd415f875591bc66c5ecb49bf84ef97e80d7b0e (patch) | |
tree | 288c6b7be14d68fb13d1daa01c6b13b049934a0a /crypto/rmd320.c | |
parent | 48593a99a1f6245000fa90606dd9ec5eb96b54a6 (diff) |
regulator: pv88060: Fix array out-of-bounds access
Fix off-by-one while iterating current_limits array.
The valid index should be 0 ~ n_current_limits -1.
Fixes: f307a7e9b7af ("regulator: pv88060: new regulator driver")
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'crypto/rmd320.c')
0 files changed, 0 insertions, 0 deletions