summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-01-07 16:04:41 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-02-28 15:39:05 +0100
commitd83e090023d3f330e08180207a23a3d8add085ee (patch)
tree1c09641d17dead7bb0ab6c5da6dab5fdcba1ffe8 /include/linux
parente9f0fc098c98cf2022952cf1a0f6f032f7b3718f (diff)
cmd64x: potential buffer overflow in cmd64x_program_timings()
[ Upstream commit 117fcc3053606d8db5cef8821dca15022ae578bb ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions