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 NPE in OverviewActivity.launchSearch #449

Merged
merged 2 commits into from
Mar 21, 2015

Conversation

sblackshear
Copy link
Contributor

DBUtils.getShow can return null and its return value is checked for null in other places where the method is called. This pull request fixes a possible NPE on an call to DBUtils.getShow where the return value is not checked for null before dereferencing.

Just to be clear, I identified this bug using a static analysis tool that I have been developing and have not attempted to reproduce this issue while running the app.

@UweTrottmann
Copy link
Owner

Awesome, 👍 Only thing I ask is that your patches please use spaces instead of tabs for indents.

Btw, gl on your PhD and congrats on your future job!

@sblackshear
Copy link
Contributor Author

Great, thanks! I will remove the tabs from the other pull request as well.

@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 NPE in OverviewActivity.launchSearch
@UweTrottmann UweTrottmann merged commit b3ffbed 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