mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 12:44:11 +08:00
1d0eb6143c
Like a few other drivers, YMFPCI driver needs to clean up with
snd_card_free() call at an error path of the probe; otherwise the
other devres resources are released before the card and it results in
the UAF.
This patch uses the helper for handling the probe error gracefully.
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
ymfpci_main.c | ||
ymfpci.c | ||
ymfpci.h |