]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hdsp - info leak in snd_hdsp_hwdep_ioctl()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 16 Oct 2013 08:44:25 +0000 (11:44 +0300)
committerTakashi Iwai <tiwai@suse.de>
Wed, 16 Oct 2013 09:22:46 +0000 (11:22 +0200)
commit0baf1132d6da1f2304e0253b737161d57823bca7
tree5de75c8d0a9480f3fedcda733f4e3533b52aceb1
parentc89a64cf714534f22793a458b439fc4b7c0ad64e
ALSA: hdsp - info leak in snd_hdsp_hwdep_ioctl()

In GCC the sizeof(hdsp_version) is 8 because there is a 2 byte hole at
the end of the struct after ->firmware_rev.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/rme9652/hdsp.c