mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 21:33:00 +00:00
c7f268df3f
There is a strange "return 0" in line6_probe() before any initialization of the module is done. It can lead to NULL pointer dereference in other functions. The patch proposes to return -ENODEV in this case. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
audio.c | ||
audio.h | ||
capture.c | ||
capture.h | ||
driver.c | ||
driver.h | ||
Kconfig | ||
Makefile | ||
midi.c | ||
midi.h | ||
midibuf.c | ||
midibuf.h | ||
pcm.c | ||
pcm.h | ||
playback.c | ||
playback.h | ||
pod.c | ||
pod.h | ||
podhd.c | ||
podhd.h | ||
revision.h | ||
toneport.c | ||
toneport.h | ||
usbdefs.h | ||
variax.c | ||
variax.h |