aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJames Reynolds <[email protected]>2020-12-22 13:07:04 +0100
committerMauro Carvalho Chehab <[email protected]>2021-01-14 13:45:38 +0100
commit1b43bad31fb0e00f45baf5b05bd21eb8d8ce7f58 (patch)
treeec8cdc05192330df80c9f1b768ca7017de92c9ce /tools/perf/scripts/python/export-to-postgresql.py
parent4487e0215560392bd11c9de08d60824d72c89cd9 (diff)
media: mceusb: Fix potential out-of-bounds shift
When processing a MCE_RSP_GETPORTSTATUS command, the bit index to set in ir->txports_cabled comes from response data, and isn't validated. As ir->txports_cabled is a u8, nothing should be done if the bit index is greater than 7. Cc: [email protected] Reported-by: [email protected] Signed-off-by: James Reynolds <[email protected]> Signed-off-by: Sean Young <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions