diff options
author | Takashi Iwai <[email protected]> | 2023-05-16 20:44:12 +0200 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2023-05-16 20:44:46 +0200 |
commit | 3b44ec8c5c44790a82f07e90db45643c762878c6 (patch) | |
tree | db1c1ad2653102fd6d8cc8126c3f0e8282ff9b58 /tools/perf/scripts/python/bin | |
parent | cc638dba23266897c80b9bc87f33de44565fab38 (diff) |
ALSA: hda: Fix Oops by 9.1 surround channel names
get_line_out_pfx() may trigger an Oops by overflowing the static array
with more than 8 channels. This was reported for MacBookPro 12,1 with
Cirrus codec.
As a workaround, extend for the 9.1 channels and also fix the
potential Oops by unifying the code paths accessing the same array
with the proper size check.
Reported-by: Olliver Schinagl <[email protected]>
Cc: <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions