Closed Bug 722503 Opened 12 years ago Closed 12 years ago

PasswordRecord.java equals() missing null check

Categories

(Firefox for Android Graveyard :: Android Sync, defect, P1)

ARM
Android
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dchanm+bugzilla, Unassigned)

References

Details

The equals method in PasswordRecord doesn't check that the argument o is non-null before calling o.getClass().

[1] - https://github.com/mozilla-services/android-sync/blob/master/src/main/java/org/mozilla/gecko/sync/repositories/domain/PasswordRecord.java#L92
Blocks: 723230
Priority: -- → P1
Looks like null check has been fixed in develop.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: Mozilla Services → Android Background Services
Product: Android Background Services → Firefox for Android
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.