From 0e799357a81f009064d3ac21f515de6fa108bd10 Mon Sep 17 00:00:00 2001 From: Marijn Kruisselbrink Date: Wed, 8 Dec 2021 14:10:58 -0800 Subject: [PATCH] Fix crash in mackie strip code. Strip::notify_property_changed accesses _stripable without verifying that is not null. However it is possible for this to be null, so add a null check. --- libs/surfaces/mackie/strip.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/surfaces/mackie/strip.cc b/libs/surfaces/mackie/strip.cc index 25ef65557c..e3c26b4fdc 100644 --- a/libs/surfaces/mackie/strip.cc +++ b/libs/surfaces/mackie/strip.cc @@ -389,6 +389,10 @@ Strip::notify_processor_changed (bool force_update) void Strip::notify_property_changed (const PropertyChange& what_changed) { + if (!_stripable) { + return; + } + if (what_changed.contains (ARDOUR::Properties::name)) { show_stripable_name (); }