commit | df98e46c41b1edd6b27db3f0c9a1360b4b7eb060 | [log] [tgz] |
---|---|---|
author | David Henningsson <david.henningsson@canonical.com> | Wed Oct 17 12:43:44 2012 +0200 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:16:34 2020 +0200 |
tree | e5043ea4de023296354cf638eed55e1bfc20fa45 | |
parent | 88d401d992dca9e63184a45deb5c5943eef7fd38 [diff] |
ALSA: hda - Always check array bounds in alc_get_line_out_pfx commit 71aa5ebe36a4e936eff281b375a4707b6a8320f2 upstream. Even when CONFIG_SND_DEBUG is not enabled, we don't want to return an arbitrary memory location when the channel count is larger than we expected. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>