potential mem corruption at session close:
ARDOUR::Session::~Session() ARDOUR::Route::~Route() ARDOUR::InternalReturn::~InternalReturn() ARDOUR::Return::~Return() ARDOUR::Session::unmark_return_id(unsigned int) boost::dynamic_bitset<unsigned int, std::allocator<unsigned int> >::reference::do_assign(bool) -> Invalid write of size 4 -> 0 bytes inside a block of size 4 free'd Thanks to The_CLA for valgrinding this.
This commit is contained in:
parent
8d81f121e5
commit
a6af411af7
@ -5501,6 +5501,7 @@ Session::unmark_aux_send_id (uint32_t id)
|
||||
void
|
||||
Session::unmark_return_id (uint32_t id)
|
||||
{
|
||||
if (_state_of_the_state & Deletion) { return; }
|
||||
if (id < return_bitset.size()) {
|
||||
return_bitset[id] = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user