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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: prevent access to null config_ in SimpleAbrManager #5362

Merged
merged 1 commit into from
Jun 27, 2023

Conversation

valotvince
Copy link
Contributor

@valotvince valotvince commented Jun 27, 2023

Well sometimes network information change could be triggered even if this.config_ is null, resulting in an exception thrown in the browser. Doesn't affect playback, but affects the number of errors detected by our tools 馃槄

Let's check if abrManager is enabled before checking its config

@avelad avelad added type: bug Something isn't working correctly priority: P2 Smaller impact or easy workaround labels Jun 27, 2023
@avelad avelad added this to the v4.4 milestone Jun 27, 2023
@github-actions
Copy link
Contributor

Incremental code coverage: 0.00%

@joeyparrish joeyparrish merged commit d1db694 into shaka-project:main Jun 27, 2023
21 checks passed
@valotvince valotvince deleted the fix-null-access branch June 28, 2023 13:06
joeyparrish pushed a commit that referenced this pull request Jul 20, 2023
Well sometimes network information change could be triggered even if
this.config_ is null, resulting in an exception thrown in the browser.
Doesn't affect playback, but affects the number of errors detected by
our tools 馃槄

Let's check if abrManager is enabled before checking its config
joeyparrish pushed a commit that referenced this pull request Jul 20, 2023
Well sometimes network information change could be triggered even if
this.config_ is null, resulting in an exception thrown in the browser.
Doesn't affect playback, but affects the number of errors detected by
our tools 馃槄

Let's check if abrManager is enabled before checking its config
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Aug 26, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority: P2 Smaller impact or easy workaround status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants