Skip to content

Comments

RDKEMW-12054: Fix Coverity identified issues#190

Merged
apatel859 merged 7 commits intodevelopfrom
topic/RDKEMW-12054
Jan 13, 2026
Merged

RDKEMW-12054: Fix Coverity identified issues#190
apatel859 merged 7 commits intodevelopfrom
topic/RDKEMW-12054

Conversation

@dkumar798
Copy link
Contributor

Reason for Change: Fixed the Coverity identified issues
Risks: Low
Priority: P2
Signed-off-by:Dineshkumar P [dinesh_kumar2@comcast.com]

Copy link
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

This PR addresses Coverity static analysis issues across multiple files, focusing on format specifier corrections, member initialization, and resource management improvements.

Key Changes:

  • Fixed printf format specifiers for proper type handling (intptr_t, size_t, uint32_t, bool)
  • Added member initialization in constructors to prevent uninitialized variables
  • Improved exception handling and resource cleanup in test application
  • Fixed thread synchronization in audio manager termination

Reviewed changes

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

Show a summary per file
File Description
sample/testFrontPanel.cpp Restructured exception handling and added resource cleanup for early exit path
rpc/srv/dsAudio.c Fixed bool format specifier and thread-safe termination with proper locking
rpc/cli/dsVideoPort.c Corrected format specifiers for intptr_t and size_t types
ds/videoDevice.cpp Added member initialization for _dfc in constructor
ds/include/exception.hpp Added _err member initialization in single-parameter constructor
ds/hdmiIn.cpp Fixed format specifier for sizeof() result
ds/audioOutputPort.cpp Corrected format specifiers for intptr_t and uint32_t types

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

@apatel859 apatel859 merged commit 8f0dd0f into develop Jan 13, 2026
8 of 9 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jan 13, 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.

2 participants