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

fix null pointer dereference in class Claim #1223

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ekinzie
Copy link

@ekinzie ekinzie commented Oct 10, 2021

releaseTimeString can be initialized to null. Check for this case before
trying to parse it.

PR Checklist

Please check all that apply to this PR using "x":

  • [ x] I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
  • [ x] I have checked that this PR does not introduce a breaking change
  • [ x] This PR introduces breaking changes and I have provided a detailed explanation below

PR Type

What kind of change does this PR introduce?

  • [ x] Bugfix
  • Feature
  • Code style update (formatting)
  • Refactoring (no functional changes)
  • Documentation changes
  • Other - Please describe:

Fixes

Issue Number:

What is the current behavior?

Application crashes when playing some videos.

What is the new behavior?

Application continues even if release time string is not found.

Other information

releaseTimeString can be initialized to null.  Check for this case before
trying to parse it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants