mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 20:32:22 +00:00
7266dda2f1
Currently a call to snd_card_new that fails will set card with a NULL
pointer, this causes a null pointer dereference on the error cleanup
path when card it passed to snd_card_free. Fix this by adding a new
error exit path that does not call snd_card_free and exiting via this
new path.
Addresses-Coverity: ("Explicit null dereference")
Fixes:
|
||
---|---|---|
.. | ||
altera-ci.c | ||
altera-ci.h | ||
cimax2.c | ||
cimax2.h | ||
cx23885-417.c | ||
cx23885-alsa.c | ||
cx23885-av.c | ||
cx23885-av.h | ||
cx23885-cards.c | ||
cx23885-core.c | ||
cx23885-dvb.c | ||
cx23885-f300.c | ||
cx23885-f300.h | ||
cx23885-i2c.c | ||
cx23885-input.c | ||
cx23885-input.h | ||
cx23885-ioctl.c | ||
cx23885-ioctl.h | ||
cx23885-ir.c | ||
cx23885-ir.h | ||
cx23885-reg.h | ||
cx23885-vbi.c | ||
cx23885-video.c | ||
cx23885-video.h | ||
cx23885.h | ||
cx23888-ir.c | ||
cx23888-ir.h | ||
Kconfig | ||
Makefile | ||
netup-eeprom.c | ||
netup-eeprom.h | ||
netup-init.c | ||
netup-init.h |