Skip to content

RDKB-60980 : Addressing issues in rtMessageHeader.c#348

Open
rosemarybennyy wants to merge 1 commit intordkcentral:developfrom
rosemarybennyy:topic/rbus-medium-issues6
Open

RDKB-60980 : Addressing issues in rtMessageHeader.c#348
rosemarybennyy wants to merge 1 commit intordkcentral:developfrom
rosemarybennyy:topic/rbus-medium-issues6

Conversation

@rosemarybennyy
Copy link
Contributor

Reason for change: Bug fix for Dereference before null check in rtMessageHeader_Decode function
Test Procedure: as per RDKB-60980
Risks: Medium

@rosemarybennyy rosemarybennyy requested a review from a team as a code owner August 26, 2025 07:13
Copy link
Contributor

@karuna2git karuna2git left a comment

Choose a reason for hiding this comment

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

The null pointer check added is not in appropriate location

Reason for change: Bug fix for Dereference before null check in rtMessageHeader_Decode	function
Test Procedure: as per RDKB-60980
Risks: Medium
@rosemarybennyy rosemarybennyy force-pushed the topic/rbus-medium-issues6 branch from f1e4c9a to b208acd Compare September 1, 2025 19:33
if(ptr == NULL) {
rtLog_Warn("RTROUTED_INVALID_PTR: rtMessageHeader_Decode() - PTR is NULL");
return RT_ERROR;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

You do not need this check multiple times

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