diff options
author | 2020-04-15 16:03:04 +0200 | |
---|---|---|
committer | 2020-04-22 09:10:36 +0200 | |
commit | e9b3c610a05c1cdf8e959a6d89c38807ff758ee6 (patch) | |
tree | 4c21f669d66d62823de204d71bfd0d127db746dd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 5.7-rc2 (diff) | |
download | linux-rng-e9b3c610a05c1cdf8e959a6d89c38807ff758ee6.tar.xz linux-rng-e9b3c610a05c1cdf8e959a6d89c38807ff758ee6.zip |
USB: serial: garmin_gps: add sanity checking for data length
We must not process packets shorter than a packet ID
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Reported-and-tested-by: syzbot+d29e9263e13ce0b9f4fd@syzkaller.appspotmail.com
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions