linux/sound/pci
Dan Carpenter 643d6bbb96 ALSA: hdspm - potential info leak in snd_hdspm_hwdep_ioctl()
Smatch has a new check for Rosenberg type information leaks where
structs are copied to the user with uninitialized stack data in them.

The status struct has a hole in it, and on some paths not all the
members were initialized.

struct hdspm_status {
        unsigned char              card_type;            /*     0     1 */
        /* XXX 3 bytes hole, try to pack */
        enum hdspm_syncsource      autosync_source;      /*     4     4 */
        long long unsigned int     card_clock;           /*     8     8 */

The hdspm_version struct had holes in it as well.

struct hdspm_version {
        unsigned char              card_type;            /*     0     1 */
        char                       cardname[20];         /*     1    20 */
        /* XXX 3 bytes hole, try to pack */
        unsigned int               serial;               /*    24     4 */
        short unsigned int         firmware_rev;         /*    28     2 */
        /* XXX 2 bytes hole, try to pack */
        int                        addons;               /*    32     4 */

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-09-23 08:28:56 +02:00
..
ac97 ALSA: ac97: Add HP Compaq dc5100 SFF(PT003AW) to Headphone Jack Sense whitelist 2011-08-15 10:26:37 +02:00
ali5451 ALSA: use KBUILD_MODNAME for request_irq argument in sound/pci/* 2011-06-10 16:36:37 +02:00
asihpi ALSA: asihpi - use kzalloc() 2011-08-07 17:32:52 +02:00
au88x0 ALSA: mpu401: clean up interrupt specification 2011-09-14 11:00:51 +02:00
aw2 ALSA: use KBUILD_MODNAME for request_irq argument in sound/pci/* 2011-06-10 16:36:37 +02:00
ca0106 ALSA: use KBUILD_MODNAME for request_irq argument in sound/pci/* 2011-06-10 16:36:37 +02:00
cs46xx ALSA: use KBUILD_MODNAME for request_irq argument in sound/pci/* 2011-06-10 16:36:37 +02:00
cs5535audio Merge branch 'topic/misc' into for-linus 2011-07-22 08:43:24 +02:00
ctxfi ALSA: ctxfi: Bump playback substreams to 256 2011-08-24 10:39:44 +02:00
echoaudio atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
emu10k1 ALSA: emu10k1: allow to disable the SRC 2011-09-20 08:56:58 +02:00
hda ALSA: HDA: Add support for IDT 92HD93 2011-09-20 09:13:18 +02:00
ice1712 ALSA: mpu401: clean up interrupt specification 2011-09-14 11:00:51 +02:00
korg1212 ALSA: use KBUILD_MODNAME for request_irq argument in sound/pci/* 2011-06-10 16:36:37 +02:00
lola ALSA: lola - Fix for Lola280 board 2011-06-24 12:54:43 +02:00
lx6464es atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
mixart ALSA: use KBUILD_MODNAME for request_irq argument in sound/pci/* 2011-06-10 16:36:37 +02:00
nm256 ALSA: use KBUILD_MODNAME for request_irq argument in sound/pci/* 2011-06-10 16:36:37 +02:00
oxygen ALSA: mpu401: clean up interrupt specification 2011-09-14 11:00:51 +02:00
pcxhr ALSA: use KBUILD_MODNAME for request_irq argument in sound/pci/* 2011-06-10 16:36:37 +02:00
riptide ALSA: mpu401: clean up interrupt specification 2011-09-14 11:00:51 +02:00
rme9652 ALSA: hdspm - potential info leak in snd_hdspm_hwdep_ioctl() 2011-09-23 08:28:56 +02:00
trident ALSA: mpu401: clean up interrupt specification 2011-09-14 11:00:51 +02:00
vx222 ALSA: use KBUILD_MODNAME for request_irq argument in sound/pci/* 2011-06-10 16:36:37 +02:00
ymfpci ALSA: ymfpci: allow to disable the SRC 2011-09-20 08:56:56 +02:00
ad1889.c ALSA: use KBUILD_MODNAME for request_irq argument in sound/pci/* 2011-06-10 16:36:37 +02:00
ad1889.h
ak4531_codec.c ALSA: Fix missing KERN_* prefix to printk in sound/pci 2009-02-05 16:11:31 +01:00
als300.c ALSA: use KBUILD_MODNAME for request_irq argument in sound/pci/* 2011-06-10 16:36:37 +02:00
als4000.c ALSA: mpu401: clean up interrupt specification 2011-09-14 11:00:51 +02:00
atiixp_modem.c ALSA: use KBUILD_MODNAME for request_irq argument in sound/pci/* 2011-06-10 16:36:37 +02:00
atiixp.c ALSA: use KBUILD_MODNAME for request_irq argument in sound/pci/* 2011-06-10 16:36:37 +02:00
azt3328.c ALSA: mpu401: clean up interrupt specification 2011-09-14 11:00:51 +02:00
azt3328.h ALSA: azt3328: fix previous breakage, improve suspend, cleanups 2009-07-15 12:03:26 +02:00
bt87x.c ALSA: use KBUILD_MODNAME for request_irq argument in sound/pci/* 2011-06-10 16:36:37 +02:00
cmipci.c ALSA: mpu401: clean up interrupt specification 2011-09-14 11:00:51 +02:00
cs4281.c ALSA: use KBUILD_MODNAME for request_irq argument in sound/pci/* 2011-06-10 16:36:37 +02:00
cs5530.c ALSA: Use KBUILD_MODNAME for pci_driver.name entries 2011-06-10 16:20:20 +02:00
ens1370.c ALSA: use KBUILD_MODNAME for request_irq argument in sound/pci/* 2011-06-10 16:36:37 +02:00
ens1371.c
es1938.c ALSA: mpu401: clean up interrupt specification 2011-09-14 11:00:51 +02:00
es1968.c ALSA: mpu401: clean up interrupt specification 2011-09-14 11:00:51 +02:00
fm801.c ALSA: fm801 - Clean up redundant reference to snd_fm801_tea575x_gpios[] 2011-09-23 07:18:22 +02:00
intel8x0.c ALSA: intel8x0: Apply headphones+mute LED quirk for Dell Inspiron 9300 2011-07-15 07:54:26 +02:00
intel8x0m.c ALSA: use KBUILD_MODNAME for request_irq argument in sound/pci/* 2011-06-10 16:36:37 +02:00
Kconfig ALSA: Fix dependency of CONFIG_SND_TEA575X 2011-08-07 17:54:17 +02:00
maestro3.c ALSA: mpu401: clean up interrupt specification 2011-09-14 11:00:51 +02:00
Makefile ALSA: Add the driver for Digigram Lola PCI-e boards 2011-05-03 16:31:05 +02:00
rme32.c ALSA: use KBUILD_MODNAME for request_irq argument in sound/pci/* 2011-06-10 16:36:37 +02:00
rme96.c ALSA: use KBUILD_MODNAME for request_irq argument in sound/pci/* 2011-06-10 16:36:37 +02:00
sis7019.c ALSA: use KBUILD_MODNAME for request_irq argument in sound/pci/* 2011-06-10 16:36:37 +02:00
sis7019.h trivial: fix typos s/paramter/parameter/ and s/excute/execute/ in documentation and source comments. 2009-06-12 18:01:46 +02:00
sonicvibes.c ALSA: mpu401: clean up interrupt specification 2011-09-14 11:00:51 +02:00
via82xx_modem.c ALSA: use KBUILD_MODNAME for request_irq argument in sound/pci/* 2011-06-10 16:36:37 +02:00
via82xx.c ALSA: via82xx: allow to disable the SRC 2011-09-20 08:57:00 +02:00