Issue Details (XML | Word | Printable)

Key: LIBOMV-466
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Latif Khalifa
Reporter: Douglas R Miles
Votes: 0
Watchers: 0
Operations

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

[PATCH] for Null Pointer in Primitive.GetHashCode when a Primitive has not yet received first properties update

Created: 29/Mar/09 08:18 PM   Updated: 31/Mar/09 12:16 PM
Component/s: Objects
Affects Version/s: None
Fix Version/s: 0.6.1

File Attachments: 1. Text File PrimitivesGetHashCode.patch (0.7 kB)


Severity: High
Environment: All


 Description  « Hide
Null Pointer in Primitive.GetHashCode when a Primitive has not yet received properties

Properties.OwnerID.GetHashCode() causes NPE

should be guarded with
(Properties != null ? Properties.OwnerID.GetHashCode(): 0) ^

Maybe



 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Latif Khalifa added a comment - 31/Mar/09 12:16 PM
Applied in r2564. Thanks for the patch!