aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2020-12-09 11:42:21 +0100
committerJohan Hovold <[email protected]>2020-12-09 14:54:46 +0100
commita251963f76fa0226d0fdf0c4f989496f18d9ae7f (patch)
treee720773da250941bb3a0b86716c4b480d8da25a0 /tools/perf/scripts/python/exported-sql-viewer.py
parentdaa919196be49815e342eb79fab81852102703c2 (diff)
USB: serial: option: add interface-number sanity check to flag handling
Add an interface-number sanity check before testing the device flags to avoid relying on undefined behaviour when left shifting in case a device uses an interface number greater than or equal to BITS_PER_LONG (i.e. 64 or 32). Reported-by: [email protected] Fixes: c3a65808f04a ("USB: serial: option: reimplement interface masking") Cc: [email protected] Reviewed-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Johan Hovold <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions