]> git.alsa-project.org Git - alsa-lib.git/commit
dlsym: fix the race when snd_libdir_origin is freed
authorJaroslav Kysela <perex@perex.cz>
Thu, 18 Jun 2020 06:41:02 +0000 (08:41 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 18 Jun 2020 06:41:16 +0000 (08:41 +0200)
commit20e003a63d14edabd59e40e5d0b8ed2f11f8c9b8
tree1004eaf06b7ed5c6c42e322a155a576c64f78d00
parent58682bedb6cfd975ed7a1424f913eca0297e792d
dlsym: fix the race when snd_libdir_origin is freed

snd_dlobj_cache_cleanup() function frees snd_libdir_origin, but
the pointer may be used again in snd_dlpath().

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1847508
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/dlmisc.c