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

CCB: SDL Crashing on receiving empty band from the radio #3164

Closed
LitvinenkoIra opened this issue Dec 6, 2019 · 0 comments
Closed

CCB: SDL Crashing on receiving empty band from the radio #3164

LitvinenkoIra opened this issue Dec 6, 2019 · 0 comments

Comments

@LitvinenkoIra
Copy link
Contributor

Bug Report

SDL Crashing on receiving empty band from the radio

Detailed analysis:

If the radio sends empty radioControlData is causing a crash on SDL because it's not validating the received data from HMI before dereferencing it.

Reproduction Steps
  1. Connect Android device (with SPT App installed ) over BT
  2. Create SPT Proxy as Remote Control HMI/Audio/Radio Type on device and Launch it.
  3. Launch SPT App on SYNC.
  4. Send "GET Interior Vehicle Data RPC for Radio/AUDIO
  5. Send "SET Interior Vehicle Data RPC for Radio/Audio/HMI
Expected Behavior

No Crash should be observed while testing RC Features

Observed Behavior

Screen Freezes and SDL crashed While testing Remote Control Features

OS & Version Information

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

No branches or pull requests

2 participants