Issue Details (XML | Word | Printable)

Key: LIBOMV-455
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: John Hurliman
Reporter: Ben Anhalt
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
libopenmetaverse

AvatarManager.RequestAvatarNames can produce an oversized UUIDNameRequestPacket when called with a long list of UUIDs

Created: 25/Feb/09 11:14 AM   Updated: 25/Feb/09 12:10 PM
Component/s: Avatars
Affects Version/s: None
Fix Version/s: 0.6.0

File Attachments: 1. File AvatarManager.diff (2 kB)


Severity: Medium
Environment: All


 Description  « Hide
Pretty much what it says on the tin. Discovered this bug by attempting to log in an AV with ~370 friends. The result was an unhandled exception in Network.SendPacket. Traced it down to the friends manager calling AvatarManager.RequestAvatarNames for all 370 UUIDs. RequestAvatarNames should probably split large requests up into blocks as per the attached diff. This seems to work for me.

 All   Comments   Change History   Subversion Commits   Patches      Sort Order: Ascending order - Click to sort in descending order
John Hurliman added a comment - 25/Feb/09 12:10 PM
Applied in r2455, thanks!