diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-06-14 12:58:36 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-20 16:22:36 +0200 |
| commit | ea2bda11aad9f8f49ea9f90a98bdf689555ef054 (patch) | |
| tree | 9dbabf9b6d8ce00ffdf6c6d733ce68aa22ce587a /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 38341d1a43a8810a093da0cb82e524c6fecf8a21 (diff) | |
staging: gdm724x: check for overflow in gdm_lte_netif_rx()
[ Upstream commit 7002b526f4ff1f6da34356e67085caafa6be383a ]
This code assumes that "len" is at least 62 bytes, but we need a check
to prevent a read overflow.
Fixes: 61e121047645 ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
