Skip to content

[Coverity CID: 525073] Out-of-bounds read in drivers/usb_c/tcpc/fusb307.c #90724

Open
@zephyrbot

Description

@zephyrbot

Static code scan issues found in file:

https://github.com/zephyrproject-rtos/zephyr/tree/18b14e7a2c309679fd7c69e9d953cfe83376754e/drivers/usb_c/tcpc/fusb307.c

Category: Memory - illegal accesses
Function: fusb307_alert_work_cb
Component: Drivers
CID: 525073

Details:

tcpci_tcpm_get_status_register(&cfg->bus, TCPC_FAULT_STATUS,

Please fix or provide comments in coverity using the link:

https://scan9.scan.coverity.com/#/project-view/29271/12996?selectedIssue=525073

For more information about the violation, check the Coverity Reference. (CWE-125)

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.

Metadata

Metadata

Assignees

Labels

CoverityA Coverity detected issue or its fixarea: USB-CbugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions