Merge branch 'master' into V2TextureSystem
This commit is contained in:
@@ -203,7 +203,7 @@ bool LLNotecard::importStream(std::istream& str)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if(text_len > mMaxText)
|
||||
if(text_len < 0 || text_len > mMaxText)
|
||||
{
|
||||
llwarns << "Invalid Linden text length: " << text_len << llendl;
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user