Skip to content

Conversation

@dharshini555
Copy link

No description provided.

@dharshini555 dharshini555 requested a review from a team as a code owner December 23, 2025 12:15
@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Missing return statement

Arriving at the end of a function without returning a value.

High Impact, CWE-710
MISSING_RETURN

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
src/unittest/stubs/iarm_stubs.cpp:156

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Missing return statement

Arriving at the end of a function without returning a value.

High Impact, CWE-710
MISSING_RETURN

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
src/unittest/stubs/iarm_stubs.cpp:145

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Missing return statement

Arriving at the end of a function without returning a value.

High Impact, CWE-710
MISSING_RETURN

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
src/unittest/stubs/iarm_stubs.cpp:166

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Missing return statement

Arriving at the end of a function without returning a value.

High Impact, CWE-710
MISSING_RETURN

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
src/unittest/stubs/iarm_stubs.cpp:148

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Missing return statement

Arriving at the end of a function without returning a value.

High Impact, CWE-710
MISSING_RETURN

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
src/unittest/stubs/iarm_stubs.cpp:139

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Array compared against 0

Comparing an array to null is not useful: ""Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.Power.DeepSleepNotification.Enable" != NULL", since the test will always evaluate as true.

Medium Impact, CWE-398
NO_EFFECT

How to fix

Was ""Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.Power.DeepSleepNotification.Enable"" formerly declared as a pointer?

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
src/hostif/handlers/src/hostIf_IARM_ReqHandler.cpp:622

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Missing return statement

Arriving at the end of a function without returning a value.

High Impact, CWE-710
MISSING_RETURN

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
src/unittest/stubs/iarm_stubs.cpp:173

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Missing return statement

Arriving at the end of a function without returning a value.

High Impact, CWE-710
MISSING_RETURN

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
src/unittest/stubs/iarm_stubs.cpp:142

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Missing return statement

Arriving at the end of a function without returning a value.

High Impact, CWE-710
MISSING_RETURN

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
src/unittest/stubs/iarm_stubs.cpp:152

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Missing return statement

Arriving at the end of a function without returning a value.

High Impact, CWE-710
MISSING_RETURN

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
src/unittest/stubs/iarm_stubs.cpp:162

cout << "[hostIf_SetReqHandler] Hex dump of trace_id field: ";
unsigned char* ptr = (unsigned char*)stMsgData->trace_id;
for (int i = 0; i < 40; i++) {
cout << std::hex << std::setw(2) << std::setfill('0') << (int)ptr[i] << " ";
Copy link
Contributor

Choose a reason for hiding this comment

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

Coverity Issue - Out-of-bounds read

Overrunning array of 33 bytes at byte offset 39 by dereferencing pointer "ptr + i".

High Impact, CWE-125
OVERRUN

* Supports distributed tracing with W3C Trace Context
*/
//trace libs
#include <opentelemetry/trace/provider.h>
Copy link
Contributor

Choose a reason for hiding this comment

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

Coverity Issue - Unrecoverable parse warning

cannot open source file "opentelemetry/trace/provider.h"

Low Impact, CWE-none
PARSE_ERROR

cout << "[hostIf_SetReqHandler] Hex dump of trace_id field: ";
unsigned char* ptr = (unsigned char*)stMsgData->trace_id;
for (int i = 0; i < 40; i++) {
cout << std::hex << std::setw(2) << std::setfill('0') << (int)ptr[i] << " ";
Copy link
Contributor

Choose a reason for hiding this comment

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

Coverity Issue - Out-of-bounds read

Overrunning array of 33 bytes at byte offset 39 by dereferencing pointer "ptr + i".

High Impact, CWE-125
OVERRUN

* Supports distributed tracing with W3C Trace Context
*/
//trace libs
#include <opentelemetry/trace/provider.h>
Copy link
Contributor

Choose a reason for hiding this comment

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

Coverity Issue - Unrecoverable parse warning

cannot open source file "opentelemetry/trace/provider.h"

Low Impact, CWE-none
PARSE_ERROR

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Missing return statement

Arriving at the end of a function without returning a value.

High Impact, CWE-710
MISSING_RETURN

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
src/unittest/stubs/iarm_stubs.cpp:152

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Missing return statement

Arriving at the end of a function without returning a value.

High Impact, CWE-710
MISSING_RETURN

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
src/unittest/stubs/iarm_stubs.cpp:142

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Missing return statement

Arriving at the end of a function without returning a value.

High Impact, CWE-710
MISSING_RETURN

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
src/unittest/stubs/iarm_stubs.cpp:145

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Missing return statement

Arriving at the end of a function without returning a value.

High Impact, CWE-710
MISSING_RETURN

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
src/unittest/stubs/iarm_stubs.cpp:173

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Missing return statement

Arriving at the end of a function without returning a value.

High Impact, CWE-710
MISSING_RETURN

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
src/unittest/stubs/iarm_stubs.cpp:166

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Missing return statement

Arriving at the end of a function without returning a value.

High Impact, CWE-710
MISSING_RETURN

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
src/unittest/stubs/iarm_stubs.cpp:148

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Missing return statement

Arriving at the end of a function without returning a value.

High Impact, CWE-710
MISSING_RETURN

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
src/unittest/stubs/iarm_stubs.cpp:139

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Array compared against 0

Comparing an array to null is not useful: ""Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.Power.DeepSleepNotification.Enable" != NULL", since the test will always evaluate as true.

Medium Impact, CWE-398
NO_EFFECT

How to fix

Was ""Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.Power.DeepSleepNotification.Enable"" formerly declared as a pointer?

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
src/hostif/handlers/src/hostIf_IARM_ReqHandler.cpp:622

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Missing return statement

Arriving at the end of a function without returning a value.

High Impact, CWE-710
MISSING_RETURN

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
src/unittest/stubs/iarm_stubs.cpp:162

@rdkcmf-jenkins
Copy link
Contributor

b'## Blackduck scan failure details

Summary: 0 violations, 0 files pending approval, 1 file pending identification.

  • Protex Server Path: /home/blackduck/github/tr69hostif/330/rdk/components/generic/tr69hostif

  • Commit: cb50abc

Report detail: gist'

@rdkcmf-jenkins
Copy link
Contributor

b'## Blackduck scan failure details

Summary: 0 violations, 0 files pending approval, 1 file pending identification.

  • Protex Server Path: /home/blackduck/github/tr69hostif/330/rdk/components/generic/tr69hostif

  • Commit: cb50abc

Report detail: gist'

@rdkcmf-jenkins
Copy link
Contributor

b'## Blackduck scan failure details

Summary: 0 violations, 0 files pending approval, 1 file pending identification.

  • Protex Server Path: /home/blackduck/github/tr69hostif/330/rdk/components/generic/tr69hostif

  • Commit: cb50abc

Report detail: gist'

@@ -0,0 +1,85 @@
/**
* OpenTelemetry OTLP HTTP Instrumentation Header for TR69HostIF
* C-compatible interface for tracing TR69HostIF operations with distributed tracing support

Choose a reason for hiding this comment

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

Cleared off the code match in the tool as boilerplate, but this file should have an RDK apache header if it is indeed original RDK/Comcast content.

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