aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2023-08-20 19:26:34 +0200
committerTakashi Iwai <[email protected]>2023-08-21 16:20:54 +0200
commit1c80cc055b3f9fb72606d58c27eb2486c4b919a7 (patch)
tree05a61fa7687449ed0b932602c9b0a8b4ac273a5f /lib/test_fortify/write_overflow-memcpy.c
parent5fadc941d07530d681f3b7ec91e56d8445bc3825 (diff)
ALSA: hda/tas2781: Fix acpi device refcount leak at tas2781_read_acpi()
The error path at tas2781_read_acpi() doesn't release the acpi_device adev but releases another device physdev instead. This results in a refcount leak. Fix it by replacing with the right object. Fixes: 5be27f1e3ec9 ("ALSA: hda/tas2781: Add tas2781 HDA driver") Reported-by: Pierre-Louis Bossart <[email protected]> Closes: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions