Skip to content

RDKB-63696 CMXB7-6329 CPU & Load average spike and jst crash during stability test - #15

Merged
GoutamD2905 merged 3 commits into
developfrom
bug/RDKB-63696-jst
May 5, 2026
Merged

RDKB-63696 CMXB7-6329 CPU & Load average spike and jst crash during stability test#15
GoutamD2905 merged 3 commits into
developfrom
bug/RDKB-63696-jst

Conversation

@pavankumar464

Copy link
Copy Markdown
Contributor

No description provided.

@pavankumar464
pavankumar464 requested a review from a team as a code owner April 24, 2026 13:09
Copilot AI review requested due to automatic review settings April 24, 2026 13:09

Copilot AI 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.

Pull request overview

This PR hardens getInstanceIds() to avoid crashes and instability during long-running tests by making instance-id string construction safer.

Changes:

  • Adds stricter validation of CcspBaseIf_GetNextLevelInstances() outputs before proceeding.
  • Replaces sprintf() with bounded snprintf() and adds buffer-boundary checks while building the comma-separated list.
  • Makes trailing-comma removal safer and removes a log path that could be triggered when no instances are returned.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread source/jst_cosa.c
Comment thread source/jst_cosa.c
…n partial write

Agent-Logs-Url: https://github.com/rdkcentral/javascript-templates/sessions/b07b2c7c-4794-4cdb-8403-9638f88a16bf

Co-authored-by: pavankumar464 <57708013+pavankumar464@users.noreply.github.com>
…s in getInstanceIds

Agent-Logs-Url: https://github.com/rdkcentral/javascript-templates/sessions/0728811d-414d-48f8-95c8-50d3dbebe5a6

Co-authored-by: pavankumar464 <57708013+pavankumar464@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 24, 2026 13:33
@pavankumar464
pavankumar464 removed the request for review from Copilot April 24, 2026 13:33
@GoutamD2905
GoutamD2905 merged commit 4c7aa6f into develop May 5, 2026
8 of 10 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators May 5, 2026
@pavankumar464
pavankumar464 deleted the bug/RDKB-63696-jst branch May 8, 2026 17:03
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.

5 participants