Skip to content

RDKB-66095: WebConfig Subdoc Force Reset fails due to name truncation for longer strings - #264

Merged
sadhyama merged 5 commits into
xmidt-org:masterfrom
nlrcomcast:subdoc_string
Jul 21, 2026
Merged

RDKB-66095: WebConfig Subdoc Force Reset fails due to name truncation for longer strings#264
sadhyama merged 5 commits into
xmidt-org:masterfrom
nlrcomcast:subdoc_string

Conversation

@nlrcomcast

Copy link
Copy Markdown
Contributor

No description provided.

@codecov

codecov Bot commented Jul 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.97%. Comparing base (f94f8b3) to head (25d2bf8).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #264   +/-   ##
=======================================
  Coverage   82.97%   82.97%           
=======================================
  Files          38       38           
  Lines       11786    11786           
  Branches     1631     1631           
=======================================
  Hits         9780     9780           
  Misses        968      968           
  Partials     1038     1038           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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 RDKB-66095 by preventing truncation when parsing comma-separated subdocument names for the WebConfig “subdoc force reset” RBUS set handler.

Changes:

  • Introduces MAX_SUBDOC_COUNT and MAX_SUBDOC_NAME_LEN constants to standardize force-reset parsing limits.
  • Expands the temporary parsing buffers in webcfgSubdocForceResetSetHandler to avoid truncating longer subdoc name strings.

Reviewed changes

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

File Description
src/webcfg_rbus.h Adds shared constants to size subdoc parsing buffers consistently.
src/webcfg_rbus.c Uses the new constants to enlarge parsing buffers for force-reset subdoc name handling.

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

Comment thread src/webcfg_rbus.c
@sadhyama
sadhyama merged commit 4b54021 into xmidt-org:master Jul 21, 2026
6 checks passed
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

Successfully merging this pull request may close these issues.

3 participants