Skip to content

RDKEMW-12176: UT Fail test - donot merge#71

Open
PreethiLakshmi91 wants to merge 1 commit into
rdkcentral:developfrom
PreethiLakshmi91:utFailTest
Open

RDKEMW-12176: UT Fail test - donot merge#71
PreethiLakshmi91 wants to merge 1 commit into
rdkcentral:developfrom
PreethiLakshmi91:utFailTest

Conversation

@PreethiLakshmi91
Copy link
Copy Markdown

Reason for change: Crash fix
Test Procedure: Device deepsleep causing the crash
Risks: Low
Priority: P2

Copilot AI review requested due to automatic review settings May 4, 2026 11:26
@PreethiLakshmi91 PreethiLakshmi91 requested a review from a team as a code owner May 4, 2026 11:26
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

This PR is described as a crash fix related to device deep sleep, but the provided diff only introduces an extra blank line in btrCore_AddDeviceToScannedDevicesArr() and does not change runtime behavior.

Changes:

  • Adds a blank line between the MEMCPY_S(...) call and subsequent trace logging in the service-data population loop.

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

Comment thread src/btrCore.c
Comment on lines 1192 to 1196
lstFoundDevice.stAdServiceData[count].len = apstBTDeviceInfo->saServices[count].len;
MEMCPY_S(lstFoundDevice.stAdServiceData[count].pcData,lstFoundDevice.stAdServiceData[count].len, apstBTDeviceInfo->saServices[count].pcData, BTRCORE_MAX_SERVICE_DATA_LEN);


BTRCORELOG_TRACE ("ServiceData from %s\n", __FUNCTION__);
Reason for change: Crash fix
Test Procedure: Device deepsleep causing the crash
Risks: Low
Priority: P2

Signed-off-by: ppalan289 <preethi_palanisamy@comcast.com>
Copilot AI review requested due to automatic review settings May 4, 2026 12:56
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 2 comments.


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

Comment thread src/btrCore.c
lstFoundDevice.stAdServiceData[count].len = apstBTDeviceInfo->saServices[count].len;
MEMCPY_S(lstFoundDevice.stAdServiceData[count].pcData,lstFoundDevice.stAdServiceData[count].len, apstBTDeviceInfo->saServices[count].pcData, BTRCORE_MAX_SERVICE_DATA_LEN);


Comment thread src/btrCore.c
lstFoundDevice.stAdServiceData[count].len = apstBTDeviceInfo->saServices[count].len;
MEMCPY_S(lstFoundDevice.stAdServiceData[count].pcData,lstFoundDevice.stAdServiceData[count].len, apstBTDeviceInfo->saServices[count].pcData, BTRCORE_MAX_SERVICE_DATA_LEN);


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