summaryrefslogtreecommitdiff
path: root/indra/llinventory
diff options
context:
space:
mode:
authorleyla_linden <none@none>2010-12-31 12:55:04 -0800
committerleyla_linden <none@none>2010-12-31 12:55:04 -0800
commit350a736d37de282e1e3c22627400d957f0e00dc5 (patch)
tree7427e593ce39ad2c50e1f217bad5b211a9eb3928 /indra/llinventory
parentd196348d0f4bd542eee3702329dab28952b8a5e5 (diff)
parente3204165b9bb9b36cb11a8d0a4a4040634e707fc (diff)
Merge
Diffstat (limited to 'indra/llinventory')
-rw-r--r--indra/llinventory/llnotecard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llinventory/llnotecard.cpp b/indra/llinventory/llnotecard.cpp
index 62829c284f..69152cefe0 100644
--- a/indra/llinventory/llnotecard.cpp
+++ b/indra/llinventory/llnotecard.cpp
@@ -199,7 +199,7 @@ bool LLNotecard::importStream(std::istream& str)
return FALSE;
}
- if(text_len > mMaxText)
+ if(text_len > mMaxText || text_len < 0)
{
llwarns << "Invalid Linden text length: " << text_len << llendl;
return FALSE;