]> Git Repo - qemu.git/commit
audio/jack: fix use after free segfault
authorGeoffrey McRae <[email protected]>
Sun, 8 Nov 2020 06:33:50 +0000 (17:33 +1100)
committerGerd Hoffmann <[email protected]>
Fri, 13 Nov 2020 06:36:33 +0000 (07:36 +0100)
commita6e037390dd91276f4a631d41188c87e8a60bb3f
tree14029b7f5ade5eab41deedbd1024ae686b7ae533
parentcb5d19e8294486551c422759260883ed290226d9
audio/jack: fix use after free segfault

This change registers a bottom handler to close the JACK client
connection when a server shutdown signal is received. Without this
libjack2 attempts to "clean up" old clients and causes a use after free
segfault.

Signed-off-by: Geoffrey McRae <[email protected]>
Reviewed-by: Christian Schoenebeck <[email protected]>
Message-Id: <20201108063351[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
audio/jackaudio.c
This page took 0.028939 seconds and 4 git commands to generate.