diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-01-07 16:04:41 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-20 13:38:27 +0100 |
commit | 117fcc3053606d8db5cef8821dca15022ae578bb (patch) | |
tree | 412f04483800c0222cfdf95b728af0aed17759ee /drivers/regulator | |
parent | 0fdeae5036086aa214a45e598c079a3334bc15c3 (diff) |
cmd64x: potential buffer overflow in cmd64x_program_timings()
The "drive->dn" value is a u8 and it is controlled by root only, but
it could be out of bounds here so let's check.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/regulator')
0 files changed, 0 insertions, 0 deletions