-
Notifications
You must be signed in to change notification settings - Fork 104
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 a crash when RPC encryption starts and callback when RPCs fail due to RPC encryption #1972
Merged
joeljfischer
merged 20 commits into
hotfix/7.1.1
from
bugfix/issue-1966-rpc-encryption-crash
Apr 20, 2021
Merged
Fix a crash when RPC encryption starts and callback when RPCs fail due to RPC encryption #1972
joeljfischer
merged 20 commits into
hotfix/7.1.1
from
bugfix/issue-1966-rpc-encryption-crash
Apr 20, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
joeljfischer
added
bug
A defect in the library
manager-lifecycle
Relating to the manager layer - lifecycle manager
protocol
Relating to the protocol layer
labels
Apr 15, 2021
Codecov Report
@@ Coverage Diff @@
## hotfix/7.1.1 #1972 +/- ##
================================================
+ Coverage 83.66% 83.69% +0.02%
================================================
Files 441 441
Lines 22543 22564 +21
================================================
+ Hits 18861 18885 +24
+ Misses 3682 3679 -3 |
NicoleYarroch
suggested changes
Apr 20, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I small documentation fix requested.
NicoleYarroch
approved these changes
Apr 20, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
A defect in the library
manager-lifecycle
Relating to the manager layer - lifecycle manager
protocol
Relating to the protocol layer
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #1966, #1971
Risk
This PR makes no API changes.
Testing Plan
Unit Tests
Unit tests were updated to ensure that the callback is handled correctly.
Core Tests
Tested an RPC encrypted app with
PutFile
encrypted. Ensured that no crashes occurred and the app set up correctly.Core version / branch / commit hash / module tested against: v7.1.0-RC.1 (0df66080512cbe76ee5d4872910a54adf3ca1f36)
HMI name / version / branch / commit hash / module tested against: sdl_hmi v5.5.0
Summary
SDLLifecycleManager
now ignores RPCStartServiceACK
if we're already connected instead of crashing.SDLProtocol sendRPC:
to pass back an error and return a success BOOL so that the handler can be called in theSDLLifecycleManager
if the RPC fails to send in the protocol layer.Changelog
Bug Fixes
StartServiceACK
is received.Tasks Remaining:
CLA