Open zephyrbot opened 2 weeks ago
@mniestroj can you please take a look?
@nashif Not sure what the issue really is here. Is there a chance to get more context or be able to login to Coverity for the details if this issue?
This is probably related to https://github.com/zephyrproject-rtos/zephyr/issues/69109
Since we are using host (Linux) side setsockopt(..., SO_SNDTIMEO, ...)
, we are not able to do anything with how time_t
is defined and what arguments (struct timeval
which wraps time_t
) are passed here to setsockopt()
.
I think we should mark that particular issue as false-positive.
Static code scan issues found in file:
https://github.com/zephyrproject-rtos/zephyr/tree/dcf42917c550714d2457947538b9e29d083e872e/drivers/net/nsos_adapt.c
Category: High impact quality Function:
nsos_adapt_setsockopt
Component: Drivers CID: 368788Details:
https://github.com/zephyrproject-rtos/zephyr/blob/dcf42917c550714d2457947538b9e29d083e872e/drivers/net/nsos_adapt.c
Please fix or provide comments in coverity using the link:
https://scan9.scan.coverity.com/#/project-view/29271/12996?selectedIssue=368788
For more information about the violation, check the Coverity Reference. (CWE-197)
Note: This issue was created automatically. Priority was set based on classification of the file affected and the impact field in coverity. Assignees were set using the MAINTAINERS file.