Closed Bug 988126 Opened 10 years ago Closed 10 years ago

WebViewActivity.java:56 Possible null pointer dereference of uri in org.mozilla.gecko.sync.setup.activities.WebViewActivity.onCreate(Bundle)

Categories

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

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 31

People

(Reporter: rnewman, Unassigned)

Details

(Whiteboard: findbugs)

Attachments

(1 file)

// Extract URI to launch from Intent.
    Uri uri = this.getIntent().getData();
    if (uri == null) {
      Logger.debug(LOG_TAG, "No URI passed to display.");
      finish();
    }

...


    wv.loadUrl(uri.toString());


We should return after that finish().
Component: General → Android Sync
Product: Firefox for Android → Android Background Services
Version: Trunk → unspecified
Attached patch bug-988126.patchSplinter Review
Attachment #8398316 - Flags: review?(rnewman)
Assignee: nobody → mozbugs.retornam
Comment on attachment 8398316 [details] [diff] [review]
bug-988126.patch

This looks good, but it either needs to arrive as a pull request against https://github.com/mozilla-services/android-sync , or one of the ABS peers needs to make that happen. So don't land it yet!
Attachment #8398316 - Flags: review?(rnewman) → review+
Flags: needinfo?(rnewman)
Whiteboard: findbugs → findbugs [needs upstreaming]
https://hg.mozilla.org/integration/fx-team/rev/c49dd9f20936
Status: NEW → ASSIGNED
Flags: needinfo?(rnewman)
Whiteboard: findbugs [needs upstreaming] → findbugs
Target Milestone: --- → Firefox 31
https://hg.mozilla.org/mozilla-central/rev/c49dd9f20936
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Assignee: mozbugs.retornam → nobody
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.

Attachment

General

Created:
Updated:
Size: