summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorGraham Madarasz <graham@lindenlab.com>2013-05-30 06:39:43 -0700
committerGraham Madarasz <graham@lindenlab.com>2013-05-30 06:39:43 -0700
commit7931cac194944518047dac73a6c01c20aa7b3a18 (patch)
tree0ecec4c299f8964941bdf47e528128c65c6a9c7f /indra
parent8d4594cd11b290562510bda7c09e3b3eec192ba6 (diff)
MATBUG-126 BUG-2707 speculative fix for login crasher based on stack from Kat
Diffstat (limited to 'indra')
-rwxr-xr-xindra/llmessage/llareslistener.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/llmessage/llareslistener.cpp b/indra/llmessage/llareslistener.cpp
index 58b8a05a9e..0a4effac19 100755
--- a/indra/llmessage/llareslistener.cpp
+++ b/indra/llmessage/llareslistener.cpp
@@ -93,5 +93,12 @@ private:
void LLAresListener::rewriteURI(const LLSD& data)
{
- mAres->rewriteURI(data["uri"], new UriRewriteResponder(data));
+ if (mAres)
+ {
+ mAres->rewriteURI(data["uri"], new UriRewriteResponder(data));
+ }
+ else
+ {
+ llinfos << "LLAresListener::rewriteURI requested without Ares present. Ignoring: " << data << llendl;
+ }
}