RDKB-66073 : Observed OVSM memory leak during VIF_Config table update#1272
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Fixes an OVSM memory leak observed during Wifi_VIF_Config table updates by ensuring encoded subdoc raw buffers are released when the incoming update results in “no config change”, preventing repeated allocations from accumulating.
Changes:
- Free
webconfig_ovsdb_data.u.encoded.rawon the early-return “no change” path inwebconfig_ovsdb_encode()to avoid leaking the newly encoded JSON blob.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
lavanyachimmiri15
force-pushed
the
bug/RDKB-66073
branch
from
July 16, 2026 04:46
1c962a5 to
ba1bb87
Compare
lavanyachimmiri15
force-pushed
the
bug/RDKB-66073
branch
from
July 16, 2026 07:32
ba1bb87 to
48c4e46
Compare
Reason for change: Observed OVSM memory leak during VIF_Config table update Test Procedure: Update the Wifi_VIF_Config table manually and ensure that no memory spike is observed during or after the update. Risks: Medium Priority: P1 Signed-off-by:lavanya_chimmirivenkata@comcast.com
lavanyachimmiri15
force-pushed
the
bug/RDKB-66073
branch
from
July 16, 2026 08:49
48c4e46 to
3158c1b
Compare
gsathish86
approved these changes
Jul 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
RDKB-66073 : Observed OVSM memory leak during VIF_Config table update
Reason for change: Observed OVSM memory leak during VIF_Config table update
Test Procedure: Update the Wifi_VIF_Config table manually and ensure that no memory spike is observed during or after the update. Risks: Medium
Priority: P1
Signed-off-by:lavanya_chimmirivenkata@comcast.com