[FIRE-16995] [CRASH] A bad object entry in a .slc simobject cache can result in an unreadable/unusable volume

This leaves the volume in an uncertain state and can result in a crash when later code access an uninitialised pointer
return an INVALID_UPDATE instead
master
Beq 2017-05-21 20:48:51 +01:00
parent 135d534d21
commit 8d00cd0a83
1 changed files with 6 additions and 0 deletions

View File

@ -408,6 +408,12 @@ U32 LLVOVolume::processUpdateMessage(LLMessageSystem *mesgsys,
{
LL_WARNS() << "Bogus volume parameters in object " << getID() << LL_ENDL;
LL_WARNS() << getRegion()->getOriginGlobal() << LL_ENDL;
// <FS:Beq> [FIRE-16995] [CRASH] Continuous crashing upon entering 3 adjacent sims incl. Hathian, D8, Devil's Pocket
// A bad object entry in a .slc simobject cache can result in an unreadable/unusable volume
// This leaves the volume in an uncertain state and can result in a crash when later code access an uninitialised pointer
// return an INVALID_UPDATE instead
return(INVALID_UPDATE);
// </FS:Beq>
}
volume_params.setSculptID(sculpt_id, sculpt_type);