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

Ensure valid application pointer in RAI::CheckLanguage and FinishSendingResponseToMobile #3815

Merged
merged 4 commits into from
Nov 23, 2021

Conversation

iCollin
Copy link
Collaborator

@iCollin iCollin commented Nov 5, 2021

Fixes #3813

This PR is ready for review.

Risk

This PR makes no API changes.

Testing Plan

smartdevicelink/sdl_atf_test_scripts#2602

Summary

Prevent derefing nullptr for application in some methods during registration

CLA

Copy link
Contributor

@jacobkeeler jacobkeeler left a comment

Choose a reason for hiding this comment

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

Should this check be added to ApplicationDataShouldBeResumed as well?

@iCollin
Copy link
Collaborator Author

iCollin commented Nov 13, 2021

Yes good theory, we should also probably check if application has been unregistered before beginning ResumptionDataProcessorImpl::Restore.

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