mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 14:15:46 +01:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue