]> 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)
commitf9a6405b1c964e7b9ab40742f0e7e7ab19cff7d1
tree5de75c8d0a9480f3fedcda733f4e3533b52aceb1
parent140b2d9b486af5be4cfe609196bfdb316d638477
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