aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBenjamin Tissoires <[email protected]>2016-01-19 12:34:58 +0100
committerJiri Kosina <[email protected]>2016-01-19 14:09:34 +0100
commit50220dead1650609206efe91f0cc116132d59b3f (patch)
tree4310293cab681fe0072c600d32c83ca061c18c01 /tools/perf/scripts/python/export-to-postgresql.py
parent5137b354bc8a5c04edb10d83f8bdb0bf8896fd68 (diff)
HID: core: prevent out-of-bound readings
Plugging a Logitech DJ receiver with KASAN activated raises a bunch of out-of-bound readings. The fields are allocated up to MAX_USAGE, meaning that potentially, we do not have enough fields to fit the incoming values. Add checks and silence KASAN. Signed-off-by: Benjamin Tissoires <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions