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

protect against coredump when uri in linked list is NULL #10

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

fduncanh
Copy link
Contributor

@fduncanh fduncanh commented Jun 19, 2024

a null uri in the stream linked list caused coredump. A null value probably will not occur in a working airplay video streaming implementation, but should be protected against.

"terminate called after throwing an instance of 'std::logic_error'... "

note: the only apsdk-public code I am now working with is the class ap_casting_media_data_store (inside a C-wrapper, with hlsparse including your fixes to it). I if come across any more issues in that class I will submit a PR.

@fduncanh fduncanh changed the title protect against coredump when char * uri in linked list is NULL protect against coredump when uri in linked list is NULL Jun 19, 2024
Copy link
Member

@tishion tishion left a comment

Choose a reason for hiding this comment

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

Thanks!

@tishion tishion merged commit edaef72 into air-display:main Jun 20, 2024
5 checks passed
@fduncanh fduncanh deleted the coredump_fix branch June 20, 2024 17:51
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