Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing possible NPEs when CheckInDialogFragment.newInstance returns null #450

Merged
merged 2 commits into from
Mar 21, 2015

Conversation

sblackshear
Copy link
Contributor

CheckinDialogFragment.newInstance can return null, but its return value is dereferenced without checked in several places. This pull request adds null checks in each place where this method is called.

Like #449, this bug was identified using a static analysis tool that I have been developing and I have not attempted to reproduce this issue while running the app.

@UweTrottmann UweTrottmann added the bug Something isn't working label Mar 21, 2015
@UweTrottmann UweTrottmann added this to the SeriesGuide 23 milestone Mar 21, 2015
UweTrottmann added a commit that referenced this pull request Mar 21, 2015
Fixing possible NPEs when CheckInDialogFragment.newInstance returns null
@UweTrottmann UweTrottmann merged commit 523292a into UweTrottmann:dev Mar 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants