aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2020-12-09 09:45:52 +0100
committerTakashi Iwai <[email protected]>2020-12-14 09:10:39 +0100
commit175b8d89fe292796811fdee87fa39799a5b6b87a (patch)
tree2188693002fdf3c7e765d78be8a83b8c289f35c4 /tools/perf/scripts/python/exported-sql-viewer.py
parent43d5ca88dfcd35e43010fdd818e067aa9a55f5ba (diff)
ALSA: pcm: oss: Fix potential out-of-bounds shift
syzbot spotted a potential out-of-bounds shift in the PCM OSS layer where it calculates the buffer size with the arbitrary shift value given via an ioctl. Add a range check for avoiding the undefined behavior. As the value can be treated by a signed integer, the max shift should be 30. Reported-by: [email protected] Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions