commit | 1cbed63d13d903dbd6473ccb0cb4aa80ac9ec4eb | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Jan 07 16:06:07 2020 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Feb 28 15:42:36 2020 +0100 |
tree | 42916092692a93ab2a21f5432311f9f55c5df7ad | |
parent | 60bea48fd40116fd60f5950f45bb35b450d70714 [diff] |
ide: serverworks: potential overflow in svwks_set_pio_mode() [ Upstream commit ce1f31b4c0b9551dd51874dd5364654ed4ca13ae ] The "drive->dn" variable is a u8 controlled by root. 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>