From 4f5af772a314213b18a68a2a2594da967c8a2d93 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Wed, 16 Dec 2020 14:26:17 +0100 Subject: [PATCH] Fix crash in writeToRecorders --- indra/llcommon/llerror.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/indra/llcommon/llerror.cpp b/indra/llcommon/llerror.cpp index 58d90d46df..59f27c20bf 100644 --- a/indra/llcommon/llerror.cpp +++ b/indra/llcommon/llerror.cpp @@ -1208,7 +1208,9 @@ namespace { LLError::RecorderPtr r = *i; - if (!r->enabled()) + // Crash fix + //if (!r->enabled()) + if (!r || !r->enabled()) { continue; }