From a26f383225571dfa34c0cd2e67656dc9f463fb48 Mon Sep 17 00:00:00 2001 From: johanengelen Date: Fri, 28 Dec 2007 16:14:15 +0000 Subject: [PATCH] fix Bug #177891 feGaussianBlur crashes when setting fill paint as input --- src/display/nr-filter-slot.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/display/nr-filter-slot.cpp b/src/display/nr-filter-slot.cpp index 17ea373ae..62a8717bb 100644 --- a/src/display/nr-filter-slot.cpp +++ b/src/display/nr-filter-slot.cpp @@ -144,7 +144,10 @@ NRPixBlock *FilterSlot::get(int slot_nr) } } - _slot[index]->empty = false; + if (_slot[index]) { + _slot[index]->empty = false; + } + assert(slot_nr == NR_FILTER_SLOT_NOT_SET ||_slot_number[index] == slot_nr); return _slot[index]; } -- 2.30.2