From: johanengelen Date: Fri, 28 Dec 2007 16:14:15 +0000 (+0000) Subject: fix Bug #177891 feGaussianBlur crashes when setting fill paint as input X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a26f383225571dfa34c0cd2e67656dc9f463fb48;p=inkscape.git fix Bug #177891 feGaussianBlur crashes when setting fill paint as input --- 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]; }