Skip to content

RDKEMW-22727 : Fix coverity issues on iarm-event-sender - #59

Open
balav08 wants to merge 1 commit into
developfrom
feature/RDKEMW-22727
Open

RDKEMW-22727 : Fix coverity issues on iarm-event-sender#59
balav08 wants to merge 1 commit into
developfrom
feature/RDKEMW-22727

Conversation

@balav08

@balav08 balav08 commented Jul 30, 2026

Copy link
Copy Markdown

Reason for change: Fixing coverity reported issues.
Test Procedure: Refer ticket.
Risks: Low
Priority: P2
version: minor

Reason for change: Fixing coverity reported issues.
Test Procedure: Refer ticket.
Risks: Low
Priority: P2
version: minor

Signed-off-by: balaji velmurugan <balaji_velmurugan@comcast.com>
Copilot AI review requested due to automatic review settings July 30, 2026 12:27
@balav08
balav08 requested a review from a team as a code owner July 30, 2026 12:27

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 a Coverity finding in iarm-event-sender by adding return-value checking for an IARM_Bus_Call made when handling the PeripheralUpgradeEvent.

Changes:

  • Captures the return value of IARM_Bus_Call in the PeripheralUpgradeEvent path.
  • Logs a warning when the call fails.

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

Comment on lines +547 to +555
//coverity fix: CHECKED_RETURN - check return value from IARM_Bus_Call
IARM_Result_t ret = IARM_Bus_Call(CTRLM_MAIN_IARM_BUS_NAME,
CTRLM_DEVICE_UPDATE_IARM_CALL_UPDATE_AVAILABLE,
(void *)&firmwareInfo,
sizeof(firmwareInfo));
if (ret != IARM_RESULT_SUCCESS)
{
g_warning("IARM_Bus_Call failed for PeripheralUpgradeEvent: ret=%d", ret);
}
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