Fix buffer overflow; found by Drake Arconis (Alchemy Viewer)
parent
3348ec4f75
commit
79b8277d49
|
|
@ -4686,7 +4686,7 @@ void process_chat_from_simulator(LLMessageSystem *msg, void **user_data)
|
|||
sdQuery["name"] = chat.mFromName;
|
||||
sdQuery["owner"] = owner_id;
|
||||
|
||||
if ( (!RlvActions::canShowName(RlvActions::SNC_COUNT, owner_id)) && (!is_owned_by_me) )
|
||||
if ( (!RlvActions::canShowName(RlvActions::SNC_DEFAULT, owner_id)) && (!is_owned_by_me) )
|
||||
sdQuery["rlv_shownames"] = true;
|
||||
|
||||
const LLViewerRegion* pRegion = LLWorld::getInstance()->getRegionFromPosAgent(chat.mPosAgent);
|
||||
|
|
|
|||
Loading…
Reference in New Issue