Closed Bug 1357630 Opened 7 years ago Closed 7 years ago

[infer] Fix appEventDispatcher NULL_DEREFERENCE in GeckoApp

Categories

(Firefox for Android Graveyard :: General, enhancement)

enhancement
Not set
normal

Tracking

(firefox55 fixed)

RESOLVED FIXED
Firefox 55
Tracking Status
firefox55 --- fixed

People

(Reporter: ahunt, Assigned: ahunt)

References

Details

Attachments

(1 file)

getEventDispatcher()/getApEventDispatcher cause 28 infer NULL_DEREFERENCE errors. We can squash them with one simple fix.
Assignee: nobody → ahunt
Attachment #8859429 - Flags: review?(nalexander)
Comment on attachment 8859429 [details]
Bug 1357630 - infer: (NULL_DEREFERENCE) add null-check to getAppEventDispatcher

https://reviewboard.mozilla.org/r/131462/#review134148

OK, I can see a huge number of consumers that expect a non-null return, so rock on.
Attachment #8859429 - Flags: review?(nalexander) → review+
Pushed by ahunt@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ab3beca99070
infer: (NULL_DEREFERENCE) add null-check to getAppEventDispatcher r=nalexander
https://hg.mozilla.org/mozilla-central/rev/ab3beca99070
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: