diff options
author | Oz Linden <oz@lindenlab.com> | 2011-01-04 16:45:08 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-01-04 16:45:08 -0500 |
commit | 78895f9e0c628dc33268578faf135e967cf30142 (patch) | |
tree | 6bca9250bf59591dce7636de42efe3cf293a232f /indra/llinventory/llnotecard.cpp | |
parent | 09c7d38166e3f5d04ed6321b2ac06c4112bb858b (diff) | |
parent | 562ed9c4d463ccb96dd4e6b23dff6ad6c845fc96 (diff) |
merge changes for storm-467
Diffstat (limited to 'indra/llinventory/llnotecard.cpp')
-rw-r--r-- | indra/llinventory/llnotecard.cpp | 2 |
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; |