Skip to content

RDKEMW-21599 : Control manager crashed on executing tr181 command - #262

Merged
dwolaver merged 6 commits into
developfrom
feature/RDKEMW-21599_vsdk_rfc_crash
Jul 20, 2026
Merged

RDKEMW-21599 : Control manager crashed on executing tr181 command#262
dwolaver merged 6 commits into
developfrom
feature/RDKEMW-21599_vsdk_rfc_crash

Conversation

@dwolaver

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings July 14, 2026 18:43
@dwolaver
dwolaver requested a review from a team as a code owner July 14, 2026 18:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR addresses a crash path when processing RFC/TR-181-driven voice configuration updates in the Control Manager voice subsystem by improving RFC handling and VSDK JSON lifetime management.

Changes:

  • Limit voice enable/disable overrides to the force_voice_settings path (scoping enabled accordingly).
  • Improve logging and adjust VSDK RFC JSON ownership so the config object isn’t prematurely released.
  • Fix a potential leak in RFC attribute base64/JSON parsing by ensuring the decoded buffer is freed even on early returns.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/voice/ctrlm_voice_obj.cpp Adjusts RFC handlers and VSDK config ownership to avoid freeing JSON while it may still be used.
src/rfc/ctrlm_rfc_attr.cpp Ensures decoded base64 buffers are freed promptly during RFC JSON parsing.

Comment thread src/voice/ctrlm_voice_obj.cpp
Comment thread src/rfc/ctrlm_rfc_attr.cpp Outdated

@egalla204 egalla204 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

approved for test

Copilot AI review requested due to automatic review settings July 15, 2026 18:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

Comment thread src/voice/ctrlm_voice_obj.cpp
Comment thread src/rfc/ctrlm_rfc_attr.cpp
Copilot AI review requested due to automatic review settings July 15, 2026 18:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comment thread src/voice/ctrlm_voice_obj.cpp
Copilot AI review requested due to automatic review settings July 15, 2026 18:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comment thread src/voice/ctrlm_voice_obj.cpp
Copilot AI review requested due to automatic review settings July 15, 2026 18:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings July 20, 2026 15:48

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

@dwolaver
dwolaver merged commit 8e1c5e7 into develop Jul 20, 2026
12 checks passed
@dwolaver
dwolaver deleted the feature/RDKEMW-21599_vsdk_rfc_crash branch July 20, 2026 16:32
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants