summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermessage.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-05-10 17:46:32 -0400
committerOz Linden <oz@lindenlab.com>2011-05-10 17:46:32 -0400
commitd86eb3dd42d39e6b7647b6680100aeafe2173d36 (patch)
treea5f70445f4166336fde8bb64df5414c14558cb65 /indra/newview/llviewermessage.cpp
parent56e471c3991c52f1aab37a82d88fc8ad9634483f (diff)
parent64289248273fb6cca2460614d1c25663f06ff0e2 (diff)
merge changes for beta fixes
Diffstat (limited to 'indra/newview/llviewermessage.cpp')
-rw-r--r--indra/newview/llviewermessage.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index ef5968a5e2..0b8e5cf303 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -344,6 +344,11 @@ void process_layer_data(LLMessageSystem *mesgsys, void **user_data)
{
LLViewerRegion *regionp = LLWorld::getInstance()->getRegion(mesgsys->getSender());
+ if(!regionp)
+ {
+ llwarns << "Invalid region for layer data." << llendl;
+ return;
+ }
S32 size;
S8 type;