aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/pci/hda/ca0132_regs.h
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2014-08-21 20:55:21 +0200
committerTakashi Iwai <tiwai@suse.de>2014-08-22 07:21:05 +0200
commitddc64b278a4dda052390b3de1b551e59acdff105 (patch)
tree8558903d00277fdb90191da087927fe66a1dd130 /sound/pci/hda/ca0132_regs.h
parentALSA: hda/hdmi - apply Valleyview fix-ups to Cherryview display codec (diff)
downloadwireguard-linux-ddc64b278a4dda052390b3de1b551e59acdff105.tar.xz
wireguard-linux-ddc64b278a4dda052390b3de1b551e59acdff105.zip
ALSA: core: fix buffer overflow in snd_info_get_line()
snd_info_get_line() documents that its last parameter must be one less than the buffer size, but this API design guarantees that (literally) every caller gets it wrong. Just change this parameter to have its obvious meaning. Reported-by: Tommi Rantala <tt.rantala@gmail.com> Cc: <stable@vger.kernel.org> # v2.2.26+ Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/ca0132_regs.h')
0 files changed, 0 insertions, 0 deletions