Skip to content

ISSUE-76 : Fix race condition during aggressive reloads#189

Merged
shibu-kv merged 7 commits intodevelopfrom
topic/ISSUE-76
Oct 21, 2025
Merged

ISSUE-76 : Fix race condition during aggressive reloads#189
shibu-kv merged 7 commits intodevelopfrom
topic/ISSUE-76

Conversation

@shivabhaskar
Copy link
Contributor

Reason for Change: moving reportThread out of profilexconf structure and making it static in the file, this helps in reuse without depending on profilexconf structure
Test Procedure: Aggressively simulate report uploads and verify that no crashes occur.
Risks: Medium
Priority: P1

Reason for Change: moving reportThread out of profilexconf structure and making it static in the file, this helps in reuse without depending on profilexconf structure
Test Procedure: Aggressively simulate report uploads and verify that no crashes occur.
Risks: Medium
Priority: P1
@shivabhaskar shivabhaskar requested a review from a team as a code owner October 9, 2025 06:02
shibu-kv
shibu-kv previously approved these changes Oct 16, 2025
@@ -727,17 +731,7 @@ T2ERROR ProfileXConf_delete(ProfileXConf *profile)

if(singleProfile->reportInProgress)
{
Copy link
Contributor

@rdkcmf-jenkins rdkcmf-jenkins Oct 16, 2025

Choose a reason for hiding this comment

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

Coverity issue no longer present as of: undefined

Show issue

Coverity Issue - Data race condition

Accessing "reportThread" without holding lock "plMutex". Elsewhere, "reportThread" is written to with "plMutex" held 1 out of 1 times.

Medium Impact, CWE-366
MISSING_LOCK

@shibu-kv shibu-kv merged commit cf3b46f into develop Oct 21, 2025
9 of 10 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Oct 21, 2025
@shivabhaskar shivabhaskar deleted the topic/ISSUE-76 branch November 10, 2025 08:57
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.

3 participants