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)
commitd14df339c72b6efbba4eddd1d1f3f4b173273f74
tree5de75c8d0a9480f3fedcda733f4e3533b52aceb1
parentac536a848a1643e4b87e8fbd376a63091afc2ccc
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