Conversation
Coverity Issue - Missing return statementArriving at the end of a function without returning a value. High Impact, CWE-710 Issue locationThis issue was discovered outside the diff for this Pull Request. You can find it at: |
Coverity Issue - Missing return statementArriving at the end of a function without returning a value. High Impact, CWE-710 Issue locationThis issue was discovered outside the diff for this Pull Request. You can find it at: |
Coverity Issue - Missing return statementArriving at the end of a function without returning a value. High Impact, CWE-710 Issue locationThis issue was discovered outside the diff for this Pull Request. You can find it at: |
Coverity Issue - Missing return statementArriving at the end of a function without returning a value. High Impact, CWE-710 Issue locationThis issue was discovered outside the diff for this Pull Request. You can find it at: |
Coverity Issue - Missing return statementArriving at the end of a function without returning a value. High Impact, CWE-710 Issue locationThis issue was discovered outside the diff for this Pull Request. You can find it at: |
Coverity Issue - Array compared against 0Comparing 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 How to fixWas ""Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.Power.DeepSleepNotification.Enable"" formerly declared as a pointer? Issue locationThis issue was discovered outside the diff for this Pull Request. You can find it at: |
Coverity Issue - Missing return statementArriving at the end of a function without returning a value. High Impact, CWE-710 Issue locationThis issue was discovered outside the diff for this Pull Request. You can find it at: |
Coverity Issue - Missing return statementArriving at the end of a function without returning a value. High Impact, CWE-710 Issue locationThis issue was discovered outside the diff for this Pull Request. You can find it at: |
Coverity Issue - Missing return statementArriving at the end of a function without returning a value. High Impact, CWE-710 Issue locationThis issue was discovered outside the diff for this Pull Request. You can find it at: |
Coverity Issue - Missing return statementArriving at the end of a function without returning a value. High Impact, CWE-710 Issue locationThis issue was discovered outside the diff for this Pull Request. You can find it at: |
| 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] << " "; |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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] << " "; |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
Coverity Issue - Unrecoverable parse warning
cannot open source file "opentelemetry/trace/provider.h"
Low Impact, CWE-none
PARSE_ERROR
Coverity Issue - Missing return statementArriving at the end of a function without returning a value. High Impact, CWE-710 Issue locationThis issue was discovered outside the diff for this Pull Request. You can find it at: |
Coverity Issue - Missing return statementArriving at the end of a function without returning a value. High Impact, CWE-710 Issue locationThis issue was discovered outside the diff for this Pull Request. You can find it at: |
Coverity Issue - Missing return statementArriving at the end of a function without returning a value. High Impact, CWE-710 Issue locationThis issue was discovered outside the diff for this Pull Request. You can find it at: |
Coverity Issue - Missing return statementArriving at the end of a function without returning a value. High Impact, CWE-710 Issue locationThis issue was discovered outside the diff for this Pull Request. You can find it at: |
Coverity Issue - Missing return statementArriving at the end of a function without returning a value. High Impact, CWE-710 Issue locationThis issue was discovered outside the diff for this Pull Request. You can find it at: |
Coverity Issue - Missing return statementArriving at the end of a function without returning a value. High Impact, CWE-710 Issue locationThis issue was discovered outside the diff for this Pull Request. You can find it at: |
Coverity Issue - Missing return statementArriving at the end of a function without returning a value. High Impact, CWE-710 Issue locationThis issue was discovered outside the diff for this Pull Request. You can find it at: |
Coverity Issue - Array compared against 0Comparing 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 How to fixWas ""Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.Power.DeepSleepNotification.Enable"" formerly declared as a pointer? Issue locationThis issue was discovered outside the diff for this Pull Request. You can find it at: |
Coverity Issue - Missing return statementArriving at the end of a function without returning a value. High Impact, CWE-710 Issue locationThis issue was discovered outside the diff for this Pull Request. You can find it at: |
| @@ -0,0 +1,85 @@ | |||
| /** | |||
| * OpenTelemetry OTLP HTTP Instrumentation Header for TR69HostIF | |||
| * C-compatible interface for tracing TR69HostIF operations with distributed tracing support | |||
There was a problem hiding this comment.
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.
No description provided.