summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGünther Noack <gnoack@google.com>2026-01-09 13:25:58 +0100
committerJiri Kosina <jkosina@suse.com>2026-01-10 10:29:37 +0100
commit1547d41f9f19d691c2c9ce4c29f746297baef9e9 (patch)
tree23174263973e528be933b556944db9a68b801b97 /tools/perf/scripts/python/export-to-postgresql.py
parentcee8337e1bad168136aecfe6416ecd7d3aa7529a (diff)
downloadlinux-1547d41f9f19d691c2c9ce4c29f746297baef9e9.tar.gz
linux-1547d41f9f19d691c2c9ce4c29f746297baef9e9.zip
HID: logitech-hidpp: Check maxfield in hidpp_get_report_length()
Do not crash when a report has no fields. Fake USB gadgets can send their own HID report descriptors and can define report structures without valid fields. This can be used to crash the kernel over USB. Cc: stable@vger.kernel.org Signed-off-by: Günther Noack <gnoack@google.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions