-
Notifications
You must be signed in to change notification settings - Fork 3
Topic/otel tr69hostif #330
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
base: develop
Are you sure you want to change the base?
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.
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> |
There was a problem hiding this comment.
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] << " "; |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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
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.
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.
No description provided.