Skip to content

RDKB-64347: Fixing coverity issues#1074

Open
bharathivelp wants to merge 1 commit intordkcentral:developfrom
bharathivelp:RDKB-MCoverity_fixes
Open

RDKB-64347: Fixing coverity issues#1074
bharathivelp wants to merge 1 commit intordkcentral:developfrom
bharathivelp:RDKB-MCoverity_fixes

Conversation

@bharathivelp
Copy link
Copy Markdown
Contributor

@bharathivelp bharathivelp commented Apr 16, 2026

Reason for change: Fixing Low priority coverity issues.
Test Procedure: Build should be successful and the regression test should also succeed.
 
Risks: Low
Priority: P1
Signed-off-by: Velpula_Bharathi@comcast.com

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Fixes several Coverity findings across passpoint, webconfig analytics logging, and blaster measurement code paths.

Changes:

  • Replaced unsafe strcpy() with bounded snprintf() for HESSID copies in passpoint interworking config.
  • Refactored interworking element handling under ENABLE_FEATURE_MESHWIFI (now heap-allocates elem).
  • Removed an unused return-status variable and simplified analytics status formatting; removed redundant buff = NULL after free().

Reviewed changes

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

File Description
source/core/wifi_passpoint.c Hardens HESSID copies and refactors interworking element initialization logic for mesh builds.
source/core/wifi_ctrl_webconfig.c Removes unused variable and simplifies analytics “success” formatting on successful apply.
source/apps/blaster/wifi_single_client_msmt.c Removes redundant nulling of a freed buffer pointer.

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

Comment thread source/core/wifi_passpoint.c Outdated
Comment thread source/core/wifi_passpoint.c Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 3 out of 3 changed files in this pull request and generated 1 comment.


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

Comment thread source/core/wifi_passpoint.c Outdated
@bharathivelp bharathivelp force-pushed the RDKB-MCoverity_fixes branch from a3269c1 to e5cf72f Compare April 28, 2026 10:24
Reason for change: Fixing Low priority Coverity issues.
Test Procedure: Build should be successful and the regression test should also succeed.
 
Risks: Low
Priority: P1
Signed-off-by: Velpula_Bharathi@comcast.com
@bharathivelp bharathivelp force-pushed the RDKB-MCoverity_fixes branch from e5cf72f to 4940ed4 Compare April 30, 2026 12:02
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.

2 participants