[go: up one dir, main page]

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 potential NullReferenceException #872

Merged
merged 2 commits into from
Feb 12, 2019

Conversation

WillWill56
Copy link
Contributor

Changes
Added in a missing null-conditional operator (?) to prevent a NullReferenceException from being thrown.

Issues
Fixes #871

Copy link
Contributor
@JustAMan JustAMan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes seem to be in line with others around.

I wonder if audioStream should ever be null here, maybe its being null is a bug...

Oh, and @WillWill56, I don't remember you adding yourself to CONTRIBUTORS.md yet... please do! 😉

@WillWill56
Copy link
Contributor Author

Oh whoops, how should I do that?

Yeah, seems like working on a buggy plugin is the main reason I found this bug, will probably have to fix something related to this in the tunein plugin very soon.

@JustAMan
Copy link
Contributor

@WillWill56
Copy link
Contributor Author

Guess I missed that. Include the change in this pull request?

@JustAMan
Copy link
Contributor

Either in this one or in another about HttpClient, whatever suits you more.

Copy link
Member
@EraYaN EraYaN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@joshuaboniface joshuaboniface changed the base branch from master to release-10.2.z February 12, 2019 14:09
@joshuaboniface joshuaboniface merged commit 9d795ad into jellyfin:release-10.2.z Feb 12, 2019
@WillWill56 WillWill56 deleted the fix_sbnullref branch February 21, 2019 11:37
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.

5 participants