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: Prevent crash in GetEarliestTimestamp() if periods are empty #1173

Merged
merged 2 commits into from
Jul 12, 2023

Conversation

murillo128
Copy link
Contributor

@murillo128 murillo128 commented Feb 10, 2023

While I have not yet found why the periods are empty, this will prevent shaka from seg faulting

Fixes #1172

@joeyparrish
Copy link
Member

@murillo128, could you please fix any build and/or linter errors?

@joeyparrish joeyparrish added the status: waiting on response Waiting on a response from the reporter(s) of the issue label Jul 5, 2023
@joeyparrish joeyparrish changed the title Prevent GetEarliestTimestamp() from seg faulting if periods are empty (#1172) fix: Prevent crash in GetEarliestTimestamp() if periods are empty (#1172) Jul 5, 2023
@joeyparrish joeyparrish changed the title fix: Prevent crash in GetEarliestTimestamp() if periods are empty (#1172) fix: Prevent crash in GetEarliestTimestamp() if periods are empty Jul 5, 2023
@joeyparrish
Copy link
Member

@murillo128, you have trailing whitespace in your change, but you did not give me rights to edit your PR to fix it. Please delete the trailing whitespace.

@joeyparrish
Copy link
Member

Thanks!

@joeyparrish joeyparrish merged commit d6f28d4 into shaka-project:main Jul 12, 2023
@murillo128
Copy link
Contributor Author

thank you too Joey!

@github-actions github-actions bot removed the status: waiting on response Waiting on a response from the reporter(s) of the issue label Jul 24, 2023
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Sep 10, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Segmentation fault on shaka::Period::GetAdaptationSets()
2 participants