Skip to content

Feature/rdk 56050 #224

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 41 commits into
base: dev_sprint_25_2
Choose a base branch
from
Open

Feature/rdk 56050 #224

wants to merge 41 commits into from

Conversation

dp0000
Copy link
Contributor

@dp0000 dp0000 commented Jul 2, 2025

pull request upon dev_sprint_25_2

Deepikasri1234 and others added 28 commits June 13, 2025 15:32
Reason for change: Migration to dev_sprint_25_2 from 117308 (patchset 12)
Test Procedure: Refer Ticket

Risks: Low

Priority: P1

Change-Id: If0a31d066478806bae29f09ab829b1108d7856ba
Signed-off-by: Deepikasri N <[email protected]
Reason for change: Migration to dev_sprint_25_2 from 117308 (patchset 12)
Test Procedure: Refer Ticket

Risks: Low

Priority: P1

Change-Id: If0a31d066478806bae29f09ab829b1108d7856ba
Signed-off-by: Deepikasri N <[email protected]
Reason for change: for dev_Sprint_25_2
Test Procedure: Refer Ticket

Risks: Low

Priority: P1

Signed-off-by: Deepikasri N <[email protected]
Reason for change: for dev_Sprint_25_2
Test Procedure: Refer Ticket

Risks: Low

Priority: P1

Signed-off-by: Deepikasri N <[email protected]
Reason for change: for dev_Sprint_25_2
Test Procedure: Refer Ticket

Risks: Low

Priority: P1

Change-Id: If0a31d066478806bae29f09ab829b1108d7856ba
Signed-off-by: Deepikasri N <[email protected]
Reason for change: for dev_Sprint_25_2
Test Procedure: Refer Ticket

Risks: Low

Priority: P1

Change-Id: If0a31d066478806bae29f09ab829b1108d7856ba
Signed-off-by: Deepikasri N <[email protected]
Reason for change: for dev_Sprint_25_2
Test Procedure: Refer Ticket

Risks: Low

Priority: P1

Change-Id: If0a31d066478806bae29f09ab829b1108d7856ba
Signed-off-by: Deepikasri N <[email protected]
Reason for change: for dev_Sprint_25_2
Test Procedure: Refer Ticket

Risks: Low

Priority: P1

Change-Id: If0a31d066478806bae29f09ab829b1108d7856ba
Signed-off-by: Deepikasri N <[email protected]
Reason for change: for dev_Sprint_25_2
Test Procedure: Refer Ticket

Risks: Low

Priority: P1

Change-Id: If0a31d066478806bae29f09ab829b1108d7856ba
Signed-off-by: Deepikasri N <[email protected]
Reason for change: for dev_Sprint_25_2
Test Procedure: Refer Ticket

Risks: Low

Priority: P1

Change-Id: If0a31d066478806bae29f09ab829b1108d7856ba
Signed-off-by: Deepikasri N <[email protected]
Reason for change: for dev_Sprint_25_2
Test Procedure: Refer Ticket

Risks: Low

Priority: P1

Change-Id: If0a31d066478806bae29f09ab829b1108d7856ba
Signed-off-by: Deepikasri N <[email protected]
Reason for change: for dev_Sprint_25_2
Test Procedure: Refer Ticket

Risks: Low

Priority: P1

Change-Id: If0a31d066478806bae29f09ab829b1108d7856ba
Signed-off-by: Deepikasri N <[email protected]
Reason for change: for dev_Sprint_25_2
Test Procedure: Refer Ticket

Risks: Low

Priority: P1

Change-Id: If0a31d066478806bae29f09ab829b1108d7856ba
Signed-off-by: Deepikasri N <[email protected]
Reason for change: for dev_Sprint_25_2
Test Procedure: Refer Ticket

Risks: Low

Priority: P1

Change-Id: If0a31d066478806bae29f09ab829b1108d7856ba
Signed-off-by: Deepikasri N <[email protected]
Reason for change: for dev_Sprint_25_2
Test Procedure: Refer Ticket

Risks: Low

Priority: P1

Change-Id: If0a31d066478806bae29f09ab829b1108d7856ba
Signed-off-by: Deepikasri N <[email protected]
Reason for change: for dev_Sprint_25_2
Test Procedure: Refer Ticket

Risks: Low

Priority: P1

Change-Id: If0a31d066478806bae29f09ab829b1108d7856ba
Signed-off-by: Deepikasri N <[email protected]
Reason for change: for dev_Sprint_25_2
Test Procedure: Refer Ticket

Risks: Low

Priority: P1

Change-Id: If0a31d066478806bae29f09ab829b1108d7856ba
Signed-off-by: Deepikasri N <[email protected]
Reason for change: for dev_Sprint_25_2
Test Procedure: Refer Ticket

Risks: Low

Priority: P1

Change-Id: If0a31d066478806bae29f09ab829b1108d7856ba
Signed-off-by: Deepikasri N <[email protected]
Reason for change: for dev_Sprint_25_2
Test Procedure: Refer Ticket

Risks: Low

Priority: P1

Change-Id: If0a31d066478806bae29f09ab829b1108d7856ba
Signed-off-by: Deepikasri N <[email protected]
Reason for change: for dev_Sprint_25_2
Test Procedure: Refer Ticket

Risks: Low

Priority: P1

Change-Id: If0a31d066478806bae29f09ab829b1108d7856ba
Signed-off-by: Deepikasri N <[email protected]
@dp0000 dp0000 requested review from a team as code owners July 2, 2025 13:02
@rdkcmf-jenkins
Copy link

Coverity Issue - Unchecked return value

Calling "wait_for" without checking return value (as is done elsewhere 13 out of 14 times).

Medium Impact, CWE-252
CHECKED_RETURN

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
middleware/InterfacePlayerRDK.cpp:2790

@rdkcmf-jenkins
Copy link

Coverity Issue - Variable copied when it could be moved

"drmHelper" is copied in call to copy assignment for class "std::shared_ptr", when it could be moved instead.

Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE

How to fix

Use "std::move(""drmHelper"")" instead of "drmHelper".

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
middleware/drm/processProtectionHls.cpp:247

@rdkcmf-jenkins
Copy link

Coverity Issue - Variable copied when it could be moved

"inpData" is passed-by-value as parameter to "std::shared_ptr<_downloadConfig>::shared_ptr(std::shared_ptr<_downloadConfig> const &) /explicit =default/", when it could be moved instead.

Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE

How to fix

Use "std::move(""inpData"")" instead of "inpData".

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
drm/AampDRMLicManager.cpp:644

@rdkcmf-jenkins
Copy link

Coverity Issue - Variable copied when it could be moved

"drmHelper" is passed-by-value as parameter to "std::shared_ptr::shared_ptr(std::shared_ptr const &) /explicit =default/", when it could be moved instead.

Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE

How to fix

Use "std::move(""drmHelper"")" instead of "drmHelper".

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
drm/AampDRMLicManager.cpp:1563

@rdkcmf-jenkins
Copy link

Coverity Issue - Variable copied when it could be moved

"drmHelper" is passed-by-value as parameter to "std::shared_ptr::shared_ptr(std::shared_ptr const &) /explicit =default/", when it could be moved instead.

Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE

How to fix

Use "std::move(""drmHelper"")" instead of "drmHelper".

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
drm/AampDRMLicManager.cpp:181

@rdkcmf-jenkins
Copy link

Coverity Issue - Variable copied when it could be moved

"licenseServerProxy" is passed-by-value as parameter to "std::__cxx11::basic_string<char, std::char_traits, std::allocator >::basic_string(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const &)", when it could be moved instead.

Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE

How to fix

Use "std::move(""licenseServerProxy"")" instead of "licenseServerProxy".

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
drm/AampDRMLicManager.cpp:389

@rdkcmf-jenkins
Copy link

Coverity Issue - Double unlock

"operator =" unlocks "slotSession.sessionIdMutex" while it is unlocked.

Medium Impact, CWE-765
LOCK

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
middleware/drm/DrmSessionManager.cpp:653

@rdkcmf-jenkins
Copy link

Coverity Issue - Use of auto that causes a copy

Using the "auto" keyword without an "&" causes the copy of an object of type "PlayerSecManagerSession".

Low Impact, CWE-none
AUTO_CAUSES_COPY

How to fix

Use "const auto &" instead of "auto".

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
middleware/drm/DrmSessionManager.cpp:759

@rdkcmf-jenkins
Copy link

Coverity Issue - Variable copied when it could be moved

"drmHelper" is passed-by-value as parameter to "std::shared_ptr::shared_ptr(std::shared_ptr const &) /explicit =default/", when it could be moved instead.

Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE

How to fix

Use "std::move(""drmHelper"")" instead of "drmHelper".

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
middleware/drm/DrmSessionManager.cpp:409

@rdkcmf-jenkins
Copy link

Coverity Issue - Double unlock

"~lock_guard" unlocks "thisLock._M_device" while it is unlocked.

Medium Impact, CWE-765
LOCK

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
middleware/externals/playersecmanager/PlayerSecManagerSession.h:105

@rdkcmf-jenkins
Copy link

Coverity Issue - Variable copied when it could be moved

"licenseResponse" is passed-by-value as parameter to "std::shared_ptr::shared_ptr(std::shared_ptr const &) /explicit =default/", when it could be moved instead.

Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE

How to fix

Use "std::move(""licenseResponse"")" instead of "licenseResponse".

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
drm/AampDRMLicManager.cpp:398

@rdkcmf-jenkins
Copy link

Coverity Issue - Dereference before null check

Null-checking "respData" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.

Medium Impact, CWE-476
REVERSE_INULL

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
drm/AampDRMLicManager.cpp:1073

@rdkcmf-jenkins
Copy link

Coverity Issue - Variable copied when it could be moved

"drmHelper" is passed-by-value as parameter to "std::shared_ptr::shared_ptr(std::shared_ptr const &) /explicit =default/", when it could be moved instead.

Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE

How to fix

Use "std::move(""drmHelper"")" instead of "drmHelper".

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
drm/AampDRMLicManager.cpp:54

@rdkcmf-jenkins
Copy link

Coverity Issue - Use after free

Calling "g_object_get" dereferences freed pointer "this->m_gstElement".

High Impact, CWE-416
USE_AFTER_FREE

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
middleware/externals/PlayerExternalsInterfaceBase.h:79

@rdkcmf-jenkins
Copy link

Coverity Issue - Variable copied when it could be moved

"data" is copied in call to copy assignment for class "std::vector<std::vector<unsigned char, std::allocator >, std::allocator<std::vector<unsigned char, std::allocator > > >", when it could be moved instead.

Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE

How to fix

Use "std::move(""data"")" instead of "data".

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
middleware/drm/DrmSessionManager.cpp:628

@rdkcmf-jenkins
Copy link

Coverity Issue - Use after free

Passing freed pointer "this->m_gstElement" as an argument to "logprintf".

High Impact, CWE-416
USE_AFTER_FREE

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
middleware/externals/PlayerExternalsInterfaceBase.h:82

@rdkcmf-jenkins
Copy link

Coverity Issue - Variable copied when it could be moved

"licenseResponse" is passed-by-value as parameter to "std::shared_ptr::shared_ptr(std::shared_ptr const &) /explicit =default/", when it could be moved instead.

Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE

How to fix

Use "std::move(""licenseResponse"")" instead of "licenseResponse".

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
drm/AampDRMLicManager.cpp:504

@rdkcmf-jenkins
Copy link

Coverity Issue - Variable copied when it could be moved

"watermarkSessionUpdateCallback" is passed-by-value as parameter to "std::function<void (unsigned int, unsigned int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const &)>::function(std::function<void (unsigned int, unsigned int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const &)> const &)", when it could be moved instead.

Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE

How to fix

Use "std::move(""watermarkSessionUpdateCallback"")" instead of "watermarkSessionUpdateCallback".

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
middleware/drm/DrmSessionManager.cpp:60

@rdkcmf-jenkins
Copy link

Coverity Issue - Double unlock

"~PlayerScheduler" unlocks "this->mExLock" while it is unlocked.

Medium Impact, CWE-765
LOCK

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
middleware/externals/playersecmanager/PlayerSecManager.cpp:296

@rdkcmf-jenkins
Copy link

Coverity Issue - Variable copied when it could be moved

"waterMarkSessionUpdateCB" is passed-by-value as parameter to "std::function<void (unsigned int, unsigned int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const &)>::function(std::function<void (unsigned int, unsigned int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const &)> const &)", when it could be moved instead.

Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE

How to fix

Use "std::move(""waterMarkSessionUpdateCB"")" instead of "waterMarkSessionUpdateCB".

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
drm/AampDRMLicManager.cpp:127

Change-Id: I77d0d29b44a01ae8d9fb3ddd455815700a3dbc76
@rdkcmf-jenkins
Copy link

Coverity Issue - Unchecked return value

Calling "wait_for" without checking return value (as is done elsewhere 13 out of 14 times).

Medium Impact, CWE-252
CHECKED_RETURN

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
middleware/InterfacePlayerRDK.cpp:2790

@rdkcmf-jenkins
Copy link

Coverity Issue - Unchecked return value

Calling "wait_for" without checking return value (as is done elsewhere 13 out of 14 times).

Medium Impact, CWE-252
CHECKED_RETURN

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
middleware/InterfacePlayerRDK.cpp:2790

@rdkcmf-jenkins
Copy link

Coverity Issue - Unchecked return value

Calling "wait_for" without checking return value (as is done elsewhere 13 out of 14 times).

Medium Impact, CWE-252
CHECKED_RETURN

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
middleware/InterfacePlayerRDK.cpp:2790

1 similar comment
@rdkcmf-jenkins
Copy link

Coverity Issue - Unchecked return value

Calling "wait_for" without checking return value (as is done elsewhere 13 out of 14 times).

Medium Impact, CWE-252
CHECKED_RETURN

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
middleware/InterfacePlayerRDK.cpp:2790

@rdkcmf-jenkins
Copy link

Coverity Issue - Unchecked return value

Calling "wait_for" without checking return value (as is done elsewhere 13 out of 14 times).

Medium Impact, CWE-252
CHECKED_RETURN

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
middleware/InterfacePlayerRDK.cpp:2790

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.

7 participants