Skip to content

RDKEMW-16005-1: Resolve critical priority coverity issues#30

Merged
sajnanazeer merged 1 commit into
developfrom
topic/RDKEMW-16005-1
Jun 2, 2026
Merged

RDKEMW-16005-1: Resolve critical priority coverity issues#30
sajnanazeer merged 1 commit into
developfrom
topic/RDKEMW-16005-1

Conversation

@trupthi1403
Copy link
Copy Markdown
Contributor

Reason for change: Changes to fix FORWARD_NULL, TOCTOU coverity issue
Test Procedure: Refer Ticket
Risks: Low
Priority: P2

Copilot AI review requested due to automatic review settings April 16, 2026 05:50
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 Coverity-reported issues in the compositor around null dereference and safer temp-file cleanup logic.

Changes:

  • Guard explicit-sync struct clearing in wstSurfaceCreate() to avoid dereferencing a potentially-null surface.
  • Rework orphan temp-file pruning to open the candidate file with O_NOFOLLOW, validate it via fstat, and remove it via unlink.

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

Comment thread westeros-compositor.cpp Outdated
Comment thread westeros-compositor.cpp
Comment thread westeros-compositor.cpp Outdated
Comment thread westeros-compositor.cpp
Comment thread westeros-compositor.cpp
@trupthi1403 trupthi1403 force-pushed the topic/RDKEMW-16005-1 branch from 7e6a866 to f7d643d Compare April 16, 2026 08:33
Copilot AI review requested due to automatic review settings April 16, 2026 08:37
@trupthi1403 trupthi1403 force-pushed the topic/RDKEMW-16005-1 branch from f7d643d to 99c27cf Compare April 16, 2026 08:37
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 1 out of 1 changed files in this pull request and generated 3 comments.


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

Comment thread westeros-compositor.cpp
Comment thread westeros-compositor.cpp
Comment thread westeros-compositor.cpp
@trupthi1403 trupthi1403 force-pushed the topic/RDKEMW-16005-1 branch from 99c27cf to 653d368 Compare June 1, 2026 11:15
@mrcomcast123
Copy link
Copy Markdown
Contributor

Changes look good to merge.

Reason for change: Changes to fix FORWARD_NULL, TOCTOU coverity issue
Test Procedure: Refer Ticket
Risks: Low
Priority: P2
Copilot AI review requested due to automatic review settings June 2, 2026 11:07
@trupthi1403 trupthi1403 force-pushed the topic/RDKEMW-16005-1 branch from 653d368 to 50aaaae Compare June 2, 2026 11:07
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 1 out of 1 changed files in this pull request and generated 4 comments.

Comment thread westeros-compositor.cpp
Comment thread westeros-compositor.cpp
Comment thread westeros-compositor.cpp
Comment thread westeros-compositor.cpp
@sajnanazeer sajnanazeer self-requested a review June 2, 2026 12:30
@sajnanazeer sajnanazeer merged commit 8d4cc81 into develop Jun 2, 2026
11 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 2, 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.

4 participants