SH-2747 FIX

meow-7.2.2
Brad Payne (Vir Linden) 2011-12-05 17:07:40 -05:00
parent 95bc798693
commit b4e106ec35
1 changed files with 3 additions and 0 deletions

3
indra/newview/llavatariconctrl.cpp Normal file → Executable file
View File

@ -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);