diff options
| author | Oz Linden <oz@lindenlab.com> | 2012-02-02 14:26:33 -0500 |
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2012-02-02 14:26:33 -0500 |
| commit | 5b2dbbadf70ee33bfd288b6384ae0d51715488b1 (patch) | |
| tree | 48d7678fbbca7359db17b472e3233c1d2874828b /indra/newview/llavatariconctrl.cpp | |
| parent | 03290257345c22f909cf1cfac3981e7e07820d21 (diff) | |
| parent | 34408bed2644ff957502454f05c21c31fec90009 (diff) | |
merge changes for latest viewer-development
Diffstat (limited to 'indra/newview/llavatariconctrl.cpp')
| -rwxr-xr-x[-rw-r--r--] | indra/newview/llavatariconctrl.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llavatariconctrl.cpp b/indra/newview/llavatariconctrl.cpp index 42e7decec1..b539ac38ed 100644..100755 --- a/indra/newview/llavatariconctrl.cpp +++ b/indra/newview/llavatariconctrl.cpp @@ -75,6 +75,9 @@ void LLAvatarIconIDCache::load () LLUUID icon_id; LLDate date; + if (line.length()<=uuid_len*2) + continue; // short line, bail out to prevent substr calls throwing exception. + std::string avatar_id_str = line.substr(0,uuid_len); std::string icon_id_str = line.substr(uuid_len,uuid_len); |
