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

Android tv-casting-app: Adding defensive null checks in DiscoveredNodeData constructor #108

Merged
merged 2 commits into from
Feb 27, 2023

Conversation

sharadb-amazon
Copy link
Owner

Change summary

Adding defensive null checks on serviceInfo.attributes returned by the NsdManager before dereferencing them

Testing

Tested with the Android tv-casting-app running against the Linux tv-app

@sharadb-amazon sharadb-amazon merged commit c06f508 into v1.0.0-branch Feb 27, 2023
@github-actions
Copy link

All PRs require an issue to be accepted, please link an issue or mention it in the body using #<issue_id>

2 similar comments
@github-actions
Copy link

All PRs require an issue to be accepted, please link an issue or mention it in the body using #<issue_id>

@github-actions
Copy link

All PRs require an issue to be accepted, please link an issue or mention it in the body using #<issue_id>

sharadb-amazon added a commit that referenced this pull request Mar 3, 2023
… constructor (#108)

* Android tv-casting-app: Adding defensive null checks in DiscoveredNodeData constructor

* Adding more defensive checks / exception handling
sharadb-amazon added a commit that referenced this pull request Mar 9, 2023
… constructor (#108)

* Android tv-casting-app: Adding defensive null checks in DiscoveredNodeData constructor

* Adding more defensive checks / exception handling
sharadb-amazon added a commit that referenced this pull request Mar 9, 2023
… constructor (#108)

* Android tv-casting-app: Adding defensive null checks in DiscoveredNodeData constructor

* Adding more defensive checks / exception handling
sharadb-amazon added a commit that referenced this pull request Mar 9, 2023
…arsing (project-chip#25464)

* Checking if multicastLock isHeld before trying to release it, avoiding stopServiceDiscovery call if discovery failed to start

* Android tv-casting-app: Adding defensive checks in DiscoveredNodeData constructor (#108)

* Android tv-casting-app: Adding defensive null checks in DiscoveredNodeData constructor

* Adding more defensive checks / exception handling
sharadb-amazon added a commit that referenced this pull request Mar 17, 2023
… constructor (#108)

* Android tv-casting-app: Adding defensive null checks in DiscoveredNodeData constructor

* Adding more defensive checks / exception handling
sharadb-amazon added a commit that referenced this pull request Mar 17, 2023
… constructor (#108)

* Android tv-casting-app: Adding defensive null checks in DiscoveredNodeData constructor

* Adding more defensive checks / exception handling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants