aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2021-05-19 11:54:24 +0100
committerTakashi Iwai <[email protected]>2021-05-19 16:20:25 +0200
commita6de7b32b686a6bda835c7c0f2de98eddbf48321 (patch)
treecfc340a23a1df6e3996f8c4b8b8819c7331eb58e /tools/perf/scripts/python
parent3fda230b3ef8bba9a37f77288551ade5c1ee6533 (diff)
ALSA: rawmidi: fix incorrect array bounds check on clock_names
The array bounds check on clock_names is currently checking the size of the entire array rather than the number of elements in the array leading to a potential array bounds read error. Fix this by using the ARRAY_SIZE macro instead of sizeof. Addresses-Coverity: ("Out-of-bounds read") Fixes: 08fdced60ca0 ("ALSA: rawmidi: Add framing mode") Signed-off-by: Colin Ian King <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions