mozilla / cubeb

Cross platform audio library
ISC License
439 stars 124 forks source link

wasapi: Drop context lock before deleting context. #737

Closed kinetiknz closed 1 year ago

kinetiknz commented 1 year ago

Address a UAF caused by auto_lock writing to the lock address (which is owned by context) when the destructor runs.