diff options
author | Richard Linden <none@none> | 2011-05-09 17:24:56 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2011-05-09 17:24:56 -0700 |
commit | 64289248273fb6cca2460614d1c25663f06ff0e2 (patch) | |
tree | 1ea993ed2cb08c02d2b9c1a3f0825469a956cb1a /indra/newview/llviewermessage.cpp | |
parent | 604f92fa200a72e291a53f58957792d4b281168e (diff) |
EXP-776 WIP [crashhunters] crash in LLCloudLayer::decompress
EXP-777 WIP [crashhunters] crash in LLWind::decompress
added NULL check
Diffstat (limited to 'indra/newview/llviewermessage.cpp')
-rw-r--r-- | indra/newview/llviewermessage.cpp | 5 |
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; |