qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v5 1/1] audio/jack: fix use after free segfault


From: Geoffrey McRae
Subject: Re: [PATCH v5 1/1] audio/jack: fix use after free segfault
Date: Fri, 21 Aug 2020 21:28:44 +1000
User-agent: Roundcube Webmail/1.3.8


My suggestion is to work towards protecting the audio code with its own
mutex(es) and ignore the existence of the BQL for subsystems that can do
so (audio is a prime candidate).  Also please add comments to
audio_int.h about which functions are called from other threads than the
QEMU main thread.

Ok, so to get back on topic, what exactly is the best way forward to fix this issue in this patchset? Should I be managing a local mutex instead?


Thanks,

Paolo

[1] https://lamport.azurewebsites.net/pubs/teaching-concurrency.pdf



reply via email to

[Prev in Thread] Current Thread [Next in Thread]