diff options
author | 2020-10-07 10:49:28 +0300 | |
---|---|---|
committer | 2020-10-07 17:33:52 +0200 | |
commit | b41c15f4e1c1f1657da15c482fa837c1b7384452 (patch) | |
tree | b5c864aa8b2320df7356e4f91559171feac3abfd /net/unix/af_unix.c | |
parent | ALSA: hda/realtek: Enable audio jacks of ASUS D700SA with ALC887 (diff) | |
download | linux-dev-b41c15f4e1c1f1657da15c482fa837c1b7384452.tar.xz linux-dev-b41c15f4e1c1f1657da15c482fa837c1b7384452.zip |
ALSA: bebob: potential info leak in hwdep_read()
The "count" variable needs to be capped on every path so that we don't
copy too much information to the user.
Fixes: 618eabeae711 ("ALSA: bebob: Add hwdep interface")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20201007074928.GA2529578@mwanda
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions