Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
staging: gdm724x: check for overflow in gdm_lte_netif_rx()
[ Upstream commit 7002b52 ] This code assumes that "len" is at least 62 bytes, but we need a check to prevent a read overflow. Fixes: 61e1210 ("staging: gdm7240: adding LTE USB driver") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/YMcoTPsCYlhh2TQo@mwanda Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information