diff options
author | Cezary Rojewski <[email protected]> | 2022-07-06 14:02:26 +0200 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2022-07-15 16:26:50 +0200 |
commit | e7255c00b10e5e570dd8eb24f59e964eeec38d3b (patch) | |
tree | 683616d9489b7085e3454a3233ef116eb486411d /lib/mpi | |
parent | 622f21994506e1dac7b8e4e362c8951426e032c5 (diff) |
ALSA: hda: Skip event processing for unregistered codecs
When codec is unbound but not yet removed, in the eyes of
snd_hdac_bus_process_unsol_events() it is still a valid target to
delegate work to. Such behaviour may lead to use-after-free errors.
Address by verifying if codec is actually registered.
Signed-off-by: Cezary Rojewski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions