Go to file
Vadim Savchuk 7598015945 EXT-8491 FIXED Crash in LLAppearanceMgr::addCOFItemLink().
Reason:
When you click on a clothing link in COF, LLAppearanceMgr::wearItemOnAvatar() removes
all COF links of the clicked wearable type -- thus invalidating all previously
obtained LLViewerInventoryItems for those links -- and then passes such an
invalid item (item_to_wear) to addCOFItemLink() which of course crashes.

Fix:
1. Handle this case in wearItemOnAvatar(): don't try wearing COF items.
2. Disable the Wear button in the inventory SP when a COF item is selected.
3. Fixed get_can_item_be_worn() to return FALSE for items which are in COF or have links in COF.

Reviewed by Nyx at https://codereview.productengine.com/secondlife/r/811/

--HG--
branch : product-engine
2010-07-27 22:34:34 +03:00
doc SNOW-484/DEV-51808 FIXED Recursive animations can crash viewer 2010-07-12 17:54:02 +01:00
etc DEV-45037 Attackers can request files from viewer cache 2010-01-19 19:42:13 -06:00
indra EXT-8491 FIXED Crash in LLAppearanceMgr::addCOFItemLink(). 2010-07-27 22:34:34 +03:00
scripts Update message template to agree with server-1-36 2010-02-11 18:58:33 -05:00
.hgignore added ignore for avatar.log 2010-05-29 13:29:37 -07:00
install.xml Fix for windows build breakage. Set WINVER and _WIN32_WINNT preprocessor definitions appropriately for using windows XP API calls. 2010-06-30 17:30:32 -07:00