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

Core Crash noticed with Invalid PTU #3698

Closed
iCollin opened this issue May 10, 2021 · 1 comment
Closed

Core Crash noticed with Invalid PTU #3698

iCollin opened this issue May 10, 2021 · 1 comment
Projects

Comments

@iCollin
Copy link
Collaborator

iCollin commented May 10, 2021

Bug Report

Core can be crashed with PTU binary data

Reproduction Steps
  1. build with USE_HMI_PTU_DECRYPTION OFF and PROPRIETARY_MODE ON
  2. Start Core & HMI, connect app, trigger PTU
  3. send SystemRequest response with bulkData that is not an object (ex. string "crash")
Expected Behavior

Core does not crash

Observed Behavior

Core crashes

OS & Version Information
  • SDL Core Version: develop
Test Case, Sample Code, and / or Example App

https://github.com/SmartDeviceLink-Examples/rpc_builder_app_js/blob/react/feature/react/src/components/menu/AppConfig.jsx#L187

change to uint8encoder.encode('"crash"')

@iCollin
Copy link
Collaborator Author

iCollin commented May 13, 2021

Closed via #3699

@iCollin iCollin closed this as completed May 13, 2021
@iCollin iCollin added this to Completed Bug Fixes/ Enhancements in 8.0.0 May 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
8.0.0
Completed Bug Fixes / Enhancements
Development

No branches or pull requests

1 participant